Making WordPress.org


Ignore:
Timestamp:
07/17/2024 11:19:52 AM (23 months ago)
Author:
psrpinto
Message:

Translate: Sync "Translation Events" from GitHub

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  
    3232            <tr>
    3333                <th scope="col"><?php esc_html_e( 'Name', 'gp-translation-events' ); ?></th>
     34                <th><?php esc_html_e( 'Remote', 'gp-translation-events' ); ?></th>
    3435                <th><?php esc_html_e( 'Host', 'gp-translation-events' ); ?></th>
    3536                <th><?php esc_html_e( 'Action', 'gp-translation-events' ); ?></th>
     
    4243                        <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>
    4344                        <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; ?>
    4453                    </td>
    4554                    <td>
     
    5463                            <?php else : ?>
    5564                                    <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>
    5668                            <?php endif; ?>
    5769                            <?php if ( ! $attendee->is_host() ) : ?>
Note: See TracChangeset for help on using the changeset viewer.