Making WordPress.org


Ignore:
Timestamp:
12/17/2015 05:20:22 PM (11 years ago)
Author:
ocean90
Message:

WP i18n teams: Separate global and project specific editors on language team pages.

Fixes #1234.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/views/locale-details.php

    r1911 r2200  
    5555
    5656
    57 <h2><?php _e( 'Translation Editors', 'wporg' ); ?></h2>
     57<h2><?php _e( 'General Translation Editors', 'wporg' ); ?></h2>
    5858
    5959<?php if ( empty( $locale_data['validators'] ) ) : ?>
     
    6565                        <li>
    6666                                <a class="user-avatar" href="https://profiles.wordpress.org/<?php echo esc_attr( $validator['nice_name'] ); ?>"><?php
    67                                         echo get_avatar( $validator['email'], 60 );
     67                                        echo get_avatar( $validator['email'], 50 );
    6868                                ?></a>
    6969                                <a class="user-name" href="https://profiles.wordpress.org/<?php echo esc_attr( $validator['nice_name'] ); ?>"><?php
     
    7575                                }
    7676                                ?>
     77                        </li>
     78                <?php endforeach; ?>
     79        </ul>
     80<?php endif; ?>
     81
     82
     83<?php if ( ! empty( $locale_data['project_validators'] ) ) : ?>
     84        <h2><?php _e( 'Project Translation Editors', 'wporg' ); ?></h2>
     85
     86        <ul class="validators project-validators">
     87                <?php foreach ( $locale_data['project_validators'] as $validator ) :
     88                        ?>
     89                        <li>
     90                                <a class="user-avatar" href="https://profiles.wordpress.org/<?php echo esc_attr( $validator['nice_name'] ); ?>"><?php
     91                                        echo get_avatar( $validator['email'], 25 );
     92                                ?></a>
     93                                <a class="user-name" href="https://profiles.wordpress.org/<?php echo esc_attr( $validator['nice_name'] ); ?>"><?php
     94                                        echo esc_html( $validator['display_name'] );
     95                                ?></a>
    7796                        </li>
    7897                <?php endforeach; ?>
Note: See TracChangeset for help on using the changeset viewer.