Theme Installer: Show 'Preview' button for installed themes.

props adamsilverstein.
see #27055, see #27708.

Built from https://develop.svn.wordpress.org/trunk@28038


git-svn-id: http://core.svn.wordpress.org/trunk@27868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-04-08 04:38:15 +00:00
parent e7fc009f7c
commit 9a82e9070e
6 changed files with 5 additions and 6 deletions

View File

@ -1086,7 +1086,7 @@ body.folded .theme-overlay .theme-wrap {
.theme-browser .theme .theme-installed:before {
content: '\f147';
}
.theme-browser .theme.is-installed .theme-actions,
.theme-browser .theme.is-installed .theme-actions .button-primary,
.theme-browser.rendered .theme.is-installed .more-details {
display: none !important;
}

View File

@ -1086,7 +1086,7 @@ body.folded .theme-overlay .theme-wrap {
.theme-browser .theme .theme-installed:before {
content: '\f147';
}
.theme-browser .theme.is-installed .theme-actions,
.theme-browser .theme.is-installed .theme-actions .button-primary,
.theme-browser.rendered .theme.is-installed .more-details {
display: none !important;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -390,7 +390,6 @@ themes.view.Theme = wp.Backbone.View.extend({
if ( this.model.get( 'installed' ) ) {
this.$el.addClass( 'is-installed' );
this.$el.unbind();
}
},

File diff suppressed because one or more lines are too long