Making WordPress.org


Ignore:
Timestamp:
03/03/2023 01:24:59 PM (3 years ago)
Author:
amieiro
Message:

Translate: In the project/subproject list, add a new column with the number of strings in changesrequested status

File:
1 edited

Legend:

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

    r11732 r12450  
    153153                <th><?php _e( 'Untranslated' ); ?></th>
    154154                <th><?php _e( 'Waiting' ); ?></th>
     155                <th><?php _e( 'Changes requested' ); ?></th>
    155156            </tr>
    156157        </thead>
     
    181182                        <?php gp_link( gp_url_project( $sub_project->path, gp_url_join( $locale->slug, $set_slug ), array( 'filters[translated]' => 'yes', 'filters[status]' => 'waiting' ) ), number_format_i18n( $sub_project_status->waiting_count ) ); ?>
    182183                    </td>
     184                    <td class="stats changesrequested">
     185                        <?php gp_link( gp_url_project( $sub_project->path, gp_url_join( $locale->slug, $set_slug ), array( 'filters[changesrequested]' => 'yes', 'filters[status]' => 'changesrequested' ) ), number_format_i18n( $sub_project_status->changesrequested_count ) ); ?>
     186                    </td>
    183187                    </tr>
    184188                </tr>
     
    228232                        <?php gp_link( gp_url_project( $sub_project->path, gp_url_join( $locale->slug, $set_slug ), array( 'filters[translated]' => 'yes', 'filters[status]' => 'waiting' ) ), number_format_i18n( $status->waiting_count ) ); ?>
    229233                    </td>
    230                     </tr>
     234                    <td class="stats changesrequested">
     235                        <?php gp_link( gp_url_project( $sub_project->path, gp_url_join( $locale->slug, $set_slug ), array( 'filters[changesrequested]' => 'yes', 'filters[status]' => 'changesrequested' ) ), number_format_i18n( $status->changesrequested_count ) ); ?>
     236                    </td>
    231237                </tr>
    232238                <?php
Note: See TracChangeset for help on using the changeset viewer.