Theme Installer: Center spinner, remove plural string.

fixes #27581. see #27055.


git-svn-id: https://develop.svn.wordpress.org/trunk@27940 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2014-04-04 00:45:13 +00:00
parent 96563b4143
commit e8ad1fbf6c
2 changed files with 8 additions and 3 deletions

View File

@ -1413,10 +1413,11 @@ body.show-upload-theme p.no-themes {
.rating-100 span.five:before {
content: "\f155";
}
.rating .votes {
.rating .ratings {
display: inline;
margin-left: 10px;
line-height: 20px;
color: #999;
}
.loading-themes .theme-browser,
.error .theme-browser {
@ -1829,7 +1830,7 @@ body.full-overlay-active {
}
#theme-installer .wp-full-overlay-main {
background: #fff url(../images/spinner.gif) no-repeat fixed center center;
background: #fff url(../images/spinner.gif) no-repeat center center;
-webkit-background-size: 20px 20px;
background-size: 20px 20px;
}

View File

@ -212,7 +212,11 @@ if ( $tab ) {
<span class="three"></span>
<span class="four"></span>
<span class="five"></span>
<p class="votes"><?php printf( __( 'Based on %s ratings.' ), '{{ data.num_ratings }}' ); ?></p>
<# if ( data.num_ratings ) { #>
<p class="ratings">({{ data.num_ratings }})</p>
<# } else { #>
<p class="ratings"><?php _e( 'No ratings.' ); ?></p>
<# } #>
</div>
<div class="theme-version"><?php printf( __( 'Version: %s' ), '{{ data.version }}' ); ?></div>
<div class="theme-description">{{ data.description }}</div>