Making WordPress.org


Ignore:
Timestamp:
04/01/2022 11:42:40 AM (5 years ago)
Author:
ocean90
Message:

Translate: Various styling adjustments following changes in GlotPress 3.0.

See #6246.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/locale-project.php

    r11523 r11732  
    145145
    146146<div class="locale-project">
    147         <table class="locale-sub-projects">
     147        <table class="gp-table locale-sub-projects">
    148148                <thead>
    149149                        <tr>
    … …  
    241241                <h3>Translation Contributors</h3>
    242242                <?php if ( $locale_contributors['contributors'] ) : ?>
    243                 <table class="locale-project-contributors-table">
     243                <table class="gp-table locale-project-contributors-table">
    244244                        <thead>
    245245                                <tr>
    246                                         <th class="contributor-name">Contributor</th>
     246                                        <th class="contributor-details">Contributor</th>
    247247                                        <th class="contributor-stats">Translations</th>
    248248                                </tr>
    … …  
    355355                                printf(
    356356                                        '<tr id="contributor-%s">
    357                                                 <td class="contributor-name">
    358                                                         %s
    359                                                         <a href="https://profiles.wordpress.org/%s/">%s %s</a>
    360                                                         <span>Latest translation: %s ago</span>
     357                                                <td class="contributor-details">
     358                                                        <div class="contributor-avatar">
     359                                                                %s
     360                                                                %s
     361                                                        </div>
     362                                                        <div class="contributor-name">
     363                                                                <a href="https://profiles.wordpress.org/%s/">%s</a>
     364                                                                <span>Latest translation: %s ago</span>
     365                                                        </div>
    361366                                                </td>
    362367                                                <td class="contributor-stats">
    … …  
    386391                                        </tr>',
    387392                                        $contributor->nicename,
     393                                        get_avatar( $contributor->email, 40 ),
    388394                                        $contributor->is_editor ? '<span class="translation-editor">Editor</span>' : '',
    389395                                        $contributor->nicename,
    390                                         get_avatar( $contributor->email, 40 ),
    391396                                        $contributor->display_name ?: $contributor->nicename,
    392397                                        human_time_diff( strtotime( $contributor->last_update ) ),
Note: See TracChangeset for help on using the changeset viewer.