Changeset 2661 for sites/trunk/translate.wordpress.org/public_html/gp-templates-new/projects-wp-plugins.php
- Timestamp:
- 03/01/2016 08:16:45 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/translate.wordpress.org/public_html/gp-templates-new/projects-wp-plugins.php
r2439 r2661 97 97 98 98 // It's only 100 if it has 0 strings. 99 if ( 100 == $percent_class && $percent ) :99 if ( 100 == $percent_class && $percent ) { 100 100 $percent_class = 90; 101 endif;101 } 102 102 103 $link_url = gp_url( gp_url_join( 'locale', $locale_slug, $ set_slug, $project->path ) );103 $link_url = gp_url( gp_url_join( 'locale', $locale_slug, $project->path ) ); 104 104 $link_text = number_format( $percent ); 105 105 else : 106 106 $percent_class = (int) ( $percent / 10 ) * 10; 107 $link_url = gp_url_project( $project->path, gp_url_join( $subproject_slug, $locale_slug, $set_slug ) );107 $link_url = gp_url_project( $project->path, gp_url_join( $subproject_slug, $locale_slug ) ); 108 108 $link_text = "$percent%"; 109 109
Note: See TracChangeset
for help on using the changeset viewer.