- Timestamp:
- 07/12/2015 05:42:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/translate.wordpress.org/public_html/gp-templates/locale-projects.php
r1721 r1734 4 4 $breadcrumb = array(); 5 5 $breadcrumb[] = gp_link_get( '/', __( 'Locales' ) ); 6 $breadcrumb[] = esc_html( $locale->english_name ); 6 $breadcrumb[] = gp_link_get( gp_url_join( '/locale', $locale_slug, $set_slug ), esc_html( $locale->english_name ) ); 7 $breadcrumb[] = esc_html( $project->name ); 7 8 gp_breadcrumb( $breadcrumb ); 8 9 gp_tmpl_header(); … … 78 79 if ( isset( $project_status[ $sub_project->id ] ) ) { 79 80 $status = $project_status[ $sub_project->id ]; 80 $percent_complete = floor( $status->current_count / $status->all_count * 100 );81 $percent_complete = $status->percent_complete; 81 82 $waiting = $status->waiting_count; 82 83 $sub_projects_count = $status->sub_projects_count;
Note: See TracChangeset
for help on using the changeset viewer.