Changeset 13906 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-translation-events/templates/event-attendees.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-attendees.php
r13801 r13906 32 32 <tr> 33 33 <th scope="col"><?php esc_html_e( 'Name', 'gp-translation-events' ); ?></th> 34 <th><?php esc_html_e( 'Remote', 'gp-translation-events' ); ?></th> 34 35 <th><?php esc_html_e( 'Host', 'gp-translation-events' ); ?></th> 35 36 <th><?php esc_html_e( 'Action', 'gp-translation-events' ); ?></th> … … 42 43 <a class="attendee-avatar" href="<?php echo esc_url( get_author_posts_url( $attendee->user_id() ) ); ?>" class="avatar"><?php echo get_avatar( $attendee->user_id(), 48 ); ?></a> 43 44 <a href="<?php echo esc_url( get_author_posts_url( $attendee->user_id() ) ); ?>" class="name"><?php echo esc_html( get_the_author_meta( 'display_name', $attendee->user_id() ) ); ?></a> 45 <?php if ( $attendee->is_new_contributor() ) : ?> 46 <span class="first-time-contributor-tada" title="<?php esc_attr_e( 'New Translation Contributor', 'gp-translation-events' ); ?>"></span> 47 <?php endif; ?> 48 </td> 49 <td> 50 <?php if ( $attendee->is_remote() ) : ?> 51 <span><?php esc_html_e( 'Yes', 'gp-translation-events' ); ?></span> 52 <?php endif; ?> 44 53 </td> 45 54 <td> … … 54 63 <?php else : ?> 55 64 <input type="submit" class="button is-secondary convert-to-host" value="<?php echo esc_attr__( 'Make co-host', 'gp-translation-events' ); ?>"/> 65 <?php endif; ?> 66 <?php if ( $event->is_hybrid() ) : ?> 67 <a href="<?php echo esc_url( Urls::event_toggle_attendance_mode( $event->id(), $attendee->user_id() ) ); ?>" class="button set-attendance-mode"><?php $attendee->is_remote() ? esc_html_e( 'Set as on-site', 'gp-translation-events' ) : esc_html_e( 'Set as remote', 'gp-translation-events' ); ?></a> 56 68 <?php endif; ?> 57 69 <?php if ( ! $attendee->is_host() ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.