Make WordPress Core


Ignore:
Timestamp:
04/04/2014 12:45:13 AM (13 years ago)
Author:
nacin
Message:

Theme Installer: Center spinner, remove plural string.

fixes #27581. see #27055.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/theme-install.php

    r27937 r27940  
    213213                                                <span class="four"></span>
    214214                                                <span class="five"></span>
    215                                                 <p class="votes"><?php printf( __( 'Based on %s ratings.' ), '{{ data.num_ratings }}' ); ?></p>
     215                                        <# if ( data.num_ratings ) { #>
     216                                                <p class="ratings">({{ data.num_ratings }})</p>
     217                                        <# } else { #>
     218                                                <p class="ratings"><?php _e( 'No ratings.' ); ?></p>
     219                                        <# } #>
    216220                                        </div>
    217221                                        <div class="theme-version"><?php printf( __( 'Version: %s' ), '{{ data.version }}' ); ?></div>
Note: See TracChangeset for help on using the changeset viewer.