Making WordPress.org


Ignore:
Timestamp:
07/12/2015 05:42:47 PM (9 years ago)
Author:
ocean90
Message:

Translate: Further design improvements for project portals.

see #1091.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/translate.wordpress.org/public_html/gp-templates/locale-projects.php

    r1721 r1734  
    44$breadcrumb   = array();
    55$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 );
    78gp_breadcrumb( $breadcrumb );
    89gp_tmpl_header();
     
    7879        if ( isset( $project_status[ $sub_project->id ] ) ) {
    7980            $status = $project_status[ $sub_project->id ];
    80             $percent_complete = floor( $status->current_count / $status->all_count * 100 );
     81            $percent_complete = $status->percent_complete;
    8182            $waiting = $status->waiting_count;
    8283            $sub_projects_count = $status->sub_projects_count;
Note: See TracChangeset for help on using the changeset viewer.