Making WordPress.org


Ignore:
Timestamp:
11/10/2015 11:24:24 PM (9 years ago)
Author:
obenland
Message:

Translate: Use table ordering logic from Stats Overview.

See [2065], #1365.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/translate.wordpress.org/public_html/gp-templates/projects-wp-plugins.php

    r2054 r2069  
    4141        <tbody>
    4242            <?php
    43             foreach ( $translation_locale_statuses as $locale_slug => $set ) :
     43            foreach ( $translation_locale_complete as $locale_slug => $total_complete ) :
    4444                $gp_locale = GP_Locales::by_slug( $locale_slug );
    4545                $set_slug  = 'default';
     
    6464                    </th>
    6565                    <?php
    66                         if ( $set ) :
     66                        if ( $translation_locale_statuses[ $locale_slug ] ) :
    6767                            foreach ( array( 'dev', 'dev-readme', 'stable', 'stable-readme', 'waiting' ) as $subproject_slug ) :
    6868                                if ( isset( $translation_locale_statuses[ $locale_slug ][ $subproject_slug ] ) ) :
Note: See TracChangeset for help on using the changeset viewer.