Customizer Theme Switcher: Switch the details/live preview buttons.

props celloexpressions, ocean90.
fixes #31791.

git-svn-id: https://develop.svn.wordpress.org/trunk@31954 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90)
2015-04-01 12:35:26 +00:00
parent ed374ae10e
commit b194676876
4 changed files with 41 additions and 23 deletions

View File

@@ -547,13 +547,13 @@ function customize_themes_print_templates() {
</div>
</div>
<div class="theme-actions">
<# if ( ! data.active ) { #>
<# if ( ! data.active ) { #>
<div class="theme-actions">
<div class="inactive-theme">
<a href="<?php echo add_query_arg( 'theme', '{{ data.id }}' ); ?>" target="_top" class="button button-primary"><?php _e( 'Live Preview' ); ?></a>
</div>
<# } #>
</div>
</div>
<# } #>
</div>
</script>
<?php