Changeset 29532
- Timestamp:
- 08/18/2014 04:27:33 PM (11 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/css/media-views.css
r29527 r29532 260 260 border-left: none; 261 261 padding: 16px; 262 box-shadow: -1px 0px 1px rgba(0,0,0,.3); 262 -webkit-box-shadow: -1px 0 1px rgba(0,0,0,.3); 263 box-shadow: -1px 0 1px rgba(0,0,0,.3); 263 264 } 264 265 -
trunk/src/wp-includes/js/media-grid.js
r29526 r29532 227 227 228 228 sidebarVisibility: function() { 229 if ( this.errors.length ) { 230 this.browserView.$( '.media-sidebar' ).show(); 231 } else { 232 this.browserView.$( '.media-sidebar' ).hide(); 233 } 229 this.browserView.$( '.media-sidebar' ).toggle( !! this.errors.length ); 234 230 }, 235 231 -
trunk/src/wp-includes/js/media-views.js
r29527 r29532 5980 5980 controller: this.controller, 5981 5981 status: false, 5982 message: l10n.noItemsFound,5982 message: this.controller.isModeActive( 'grid' ) ? '' : l10n.noItemsFound, 5983 5983 canClose: this.controller.isModeActive( 'grid' ) 5984 5984 }); … … 6012 6012 this.views.add( this.attachments ); 6013 6013 6014 this.attachmentsNoResults = new media.View({ 6015 controller: this.controller, 6016 tagName: 'p' 6017 }); 6018 6019 this.attachmentsNoResults.$el.addClass( 'hidden no-media' ); 6020 this.attachmentsNoResults.$el.html( l10n.noMedia ); 6021 6022 this.views.add( this.attachmentsNoResults ); 6014 6015 if ( this.controller.isModeActive( 'grid' ) ) { 6016 this.attachmentsNoResults = new media.View({ 6017 controller: this.controller, 6018 tagName: 'p' 6019 }); 6020 6021 this.attachmentsNoResults.$el.addClass( 'hidden no-media' ); 6022 this.attachmentsNoResults.$el.html( l10n.noMedia ); 6023 6024 this.views.add( this.attachmentsNoResults ); 6025 } 6023 6026 }, 6024 6027 -
trunk/src/wp-includes/media-template.php
r29529 r29532 186 186 <?php else : ?> 187 187 <div class="upload-ui"> 188 <h3 class="upload-instructions drop-instructions"><?php _e( 'Drop files here' ); ?></h3>188 <h3 class="upload-instructions drop-instructions"><?php _e( 'Drop files anywhere to upload' ); ?></h3> 189 189 <p class="upload-instructions drop-instructions"><?php _ex( 'or', 'Uploader: Drop files here - or - Select Files' ); ?></p> 190 <a href="#" class="browser button "><?php _e( 'Select Files' ); ?></a>190 <a href="#" class="browser button button-hero"><?php _e( 'Select Files' ); ?></a> 191 191 </div> 192 192
Note: See TracChangeset
for help on using the changeset viewer.