mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Themes: Refine how we display the current theme.
props shaunandrews, kwight, matveb. see #26003. git-svn-id: https://develop.svn.wordpress.org/trunk@26681 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -221,12 +221,16 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_
|
||||
<div class="theme-screenshot blank"></div>
|
||||
<# } #>
|
||||
<div class="theme-author"><?php printf( __( 'By %s' ), '{{{ data.author }}}' ); ?></div>
|
||||
<h3 class="theme-name">{{{ data.name }}}</h3>
|
||||
|
||||
<# if ( data.active ) { #>
|
||||
<h3 class="theme-name"><span><?php _ex( 'Active:', 'theme' ); ?></span> {{{ data.name }}}</h3>
|
||||
<# } else { #>
|
||||
<h3 class="theme-name">{{{ data.name }}}</h3>
|
||||
<# } #>
|
||||
|
||||
<div class="theme-actions">
|
||||
|
||||
<# if ( data.active ) { #>
|
||||
<span class="current-label"><?php _e( 'Current Theme' ); ?></span>
|
||||
<# if ( data.actions.customize ) { #>
|
||||
<a class="button button-primary hide-if-no-customize" href="{{ data.actions.customize }}"><?php _e( 'Customize' ); ?></a>
|
||||
<# } #>
|
||||
|
||||
Reference in New Issue
Block a user