Changeset 2661
- Timestamp:
- 03/01/2016 08:16:45 PM (9 years ago)
- Location:
- sites/trunk/translate.wordpress.org/public_html
- Files:
-
- 2 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 -
sites/trunk/translate.wordpress.org/public_html/gp-templates/projects-wp-plugins.php
r2253 r2661 90 90 endif; 91 91 92 $link_url = gp_url( gp_url_join( 'locale', $locale_slug, $ set_slug, $project->path ) );92 $link_url = gp_url( gp_url_join( 'locale', $locale_slug, $project->path ) ); 93 93 $link_text = number_format( $percent ); 94 94 else : 95 95 $percent_class = (int) ( $percent / 10 ) * 10; 96 $link_url = gp_url_project( $project->path, gp_url_join( $subproject_slug, $locale_slug, $set_slug ) );96 $link_url = gp_url_project( $project->path, gp_url_join( $subproject_slug, $locale_slug ) ); 97 97 $link_text = "$percent%"; 98 98
Note: See TracChangeset
for help on using the changeset viewer.