From e8ad1fbf6cb7c0be515442886cc0e0dc23cde296 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 4 Apr 2014 00:45:13 +0000 Subject: [PATCH] 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 --- src/wp-admin/css/themes.css | 5 +++-- src/wp-admin/theme-install.php | 6 +++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index a61d27014d..95e0fa036c 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -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; } diff --git a/src/wp-admin/theme-install.php b/src/wp-admin/theme-install.php index d6b83d0aa3..f4cd3d3d6d 100644 --- a/src/wp-admin/theme-install.php +++ b/src/wp-admin/theme-install.php @@ -212,7 +212,11 @@ if ( $tab ) { -

+ <# if ( data.num_ratings ) { #> +

({{ data.num_ratings }})

+ <# } else { #> +

+ <# } #>
{{ data.description }}