Changeset 27812
- Timestamp:
- 03/28/2014 12:36:41 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media-template.php
r27797 r27812 518 518 <h3><?php _e( 'Playlist Settings' ); ?></h3> 519 519 520 <# var emptyModel = _.isEmpty( data.model ); #> 520 <# var emptyModel = _.isEmpty( data.model ), 521 isVideo = 'video' === data.controller.get('library').props.get('type'); #> 521 522 522 523 <label class="setting"> … … 524 525 checked="checked" 525 526 <# } #> /> 526 <# if ( 'audio' === data.model.type ) { #> 527 <# if ( isVideo ) { #> 528 <span><?php _e( 'Show Video List' ); ?></span> 529 <# } else { #> 527 530 <span><?php _e( 'Show Tracklist' ); ?></span> 528 <# } else { #>529 <span><?php _e( 'Show Video List' ); ?></span>530 531 <# } #> 531 532 </label> 532 533 533 <# if ( 'audio' === data.model.type) { #>534 <# if ( ! isVideo ) { #> 534 535 <label class="setting"> 535 536 <input type="checkbox" data-setting="artists" <# if ( emptyModel ) { #>
Note: See TracChangeset
for help on using the changeset viewer.