Changeset 13906 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-translation-events/templates/event-details.php
- Timestamp:
- 07/17/2024 11:19:52 AM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-translation-events/templates/event-details.php
r13801 r13906 102 102 <a href="<?php echo esc_url( get_author_posts_url( $contributor->user_id() ) ); ?>" class="name"><?php echo esc_html( get_the_author_meta( 'display_name', $contributor->user_id() ) ); ?></a> 103 103 <?php if ( $contributor->is_new_contributor() ) : ?> 104 <span class="first-time-contributor-tada" title="<?php esc_ html_e( 'New Translation Contributor', 'gp-translation-events' ); ?>"></span>104 <span class="first-time-contributor-tada" title="<?php esc_attr_e( 'New Translation Contributor', 'gp-translation-events' ); ?>"></span> 105 105 <?php endif; ?> 106 106 </li> … … 285 285 <?php else : ?> 286 286 <form class="event-details-attend" method="post" action="<?php echo esc_url( Urls::event_toggle_attendee( $event->id() ) ); ?>"> 287 <?php wp_nonce_field( '_attendee_nonce', '_attendee_nonce' ); ?> 287 288 <?php if ( $user_is_attending ) : ?> 288 289 <input type="submit" class="button is-secondary attending-btn" value="<?php esc_attr_e( "You're attending", 'gp-translation-events' ); ?>" /> 289 290 <?php else : ?> 290 <input type="submit" class="button is-primary attend-btn" value="<?php esc_attr_e( 'Attend Event', 'gp-translation-events' ); ?>"/> 291 <?php if ( ! $event->is_remote() ) : ?> 292 <input type="submit" class="button is-primary attend-btn" value="<?php esc_attr_e( 'Attend Event On-site', 'gp-translation-events' ); ?>"/> 293 <?php if ( ! $event->is_hybrid() ) : ?> 294 <p class="onsite-btn-note"> 295 <?php echo wp_kses_post( __( '<strong>Note:</strong> This is an onsite-only event. Please only click attend if you are at the event. The host might otherwise remove you.', 'gp-translation-events' ) ); ?> 296 </p> 297 <?php endif; ?> 298 <?php endif; ?> 299 <?php if ( $event->is_remote() || $event->is_hybrid() ) : ?> 300 <input type="submit" name="attend_remotely" class="button is-primary attend-btn" value="<?php esc_attr_e( 'Attend Event Remotely', 'gp-translation-events' ); ?>"/> 301 <?php endif; ?> 291 302 <?php endif; ?> 292 303 </form>
Note: See TracChangeset
for help on using the changeset viewer.