Sha256: 7bef8ed968de0ac4393b613172b54f30e5074c4b6c0d64c9567d531e14824e21
Contents?: true
Size: 1.08 KB
Versions: 19
Compression:
Stored size: 1.08 KB
Contents
- if asset :javascript document.addEventListener("DOMContentLoaded", function(event) { new Clipboard('#copy-asset-url'); }); .asset-info.mdl-card.mdl-shadow--2dp .mdl-card__title %h2.mdl-card__title-text = image_tag(asset['url'], style: 'max-height: 200px;') .mdl-card__supporting-text %dl %dt Original Filename %dd = asset['file_name'] %dt File Type %dd = asset['content_type'] %dt File Size %dd = number_to_human_size(asset['file_size']) %dt Dimensions %dd = dimensions %dt Creator %dd = creator.fullname %dt Created %dd = created_at %dt Last Modified %dd = updated_at %dt URL %dd = link_to_asset .mdl-card__menu .mdl-button.mdl-button--icon.mdl-js-button.mdl-js-ripple-effect#copy-asset-url{data: {'clipboard-text': asset['url']}} %i.material-icons content_copy .mdl-tooltip{for: 'copy-asset-url'} Copy Asset URL
Version data entries
19 entries across 19 versions & 1 rubygems