- Timestamp:
- 09/18/2015 12:54:38 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/translate.wordpress.org/public_html/gp-templates/stats-overview.php
r1859 r1885 51 51 $percent = $translation_locale_statuses[ $locale_slug ][ $project->path ]; 52 52 53 $percent_class = 'percent' . (int) ( $percent / 10 ) * 10; 54 echo '<td class="' . $percent_class .'"><a href="' . $projecturl . '">' . $percent . '%</a></td>'; 53 if ( 'waiting' === $project->path ) { 54 echo '<td><a href="' . $projecturl . '">' . number_format( $percent ) . '</a></td>'; 55 } else { 56 $percent_class = 'percent' . (int) ( $percent / 10 ) * 10; 57 echo '<td class="' . $percent_class .'"><a href="' . $projecturl . '">' . $percent . '%</a></td>'; 58 } 55 59 56 60 } else {
Note: See TracChangeset
for help on using the changeset viewer.