Changeset 7444 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/locale-project.php
- Timestamp:
- 07/12/2018 07:31:42 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/locale-project.php
r6770 r7444 149 149 </td> 150 150 <td class="stats untranslated"> 151 <?php gp_link( gp_url_project( $sub_project->path, gp_url_join( $locale->slug, $set_slug ), array( 'filters[status]' => 'untranslated' ) ), absint( $sub_project_status->all_count ) - absint( $sub_project_status->current_count) ); ?>151 <?php gp_link( gp_url_project( $sub_project->path, gp_url_join( $locale->slug, $set_slug ), array( 'filters[status]' => 'untranslated' ) ), max( 0, absint( $sub_project_status->all_count ) - absint( $sub_project_status->current_count ) ) ); ?> 152 152 </td> 153 153 <td class="stats waiting"> … … 187 187 </td> 188 188 <td class="stats untranslated"> 189 <?php gp_link( gp_url_project( $sub_project->path, gp_url_join( $locale->slug, $set_slug ), array( 'filters[status]' => 'untranslated' ) ), absint( $status->all_count ) - absint( $status->current_count) ); ?>189 <?php gp_link( gp_url_project( $sub_project->path, gp_url_join( $locale->slug, $set_slug ), array( 'filters[status]' => 'untranslated' ) ), max( 0, absint( $status->all_count ) - absint( $status->current_count ) ) ); ?> 190 190 </td> 191 191 <td class="stats waiting">
Note: See TracChangeset
for help on using the changeset viewer.