github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/ui/app/templates/components/image-file.hbs (about) 1 <a data-test-image-link href={{this.src}} target="_blank" rel="noopener noreferrer" class="image-file-image"> 2 <img data-test-image src={{this.src}} alt={{or this.alt this.fileName}} title={{this.fileName}} onload={{action this.updateImageMeta}} /> 3 </a> 4 <figcaption class="image-file-caption"> 5 <span class="image-file-caption-primary"> 6 <strong data-test-file-name>{{this.fileName}}</strong> 7 {{#if (and this.width this.height)}} 8 <span data-test-file-stats>({{this.width}}px × {{this.height}}px{{#if this.size}}, {{format-bytes this.size}}{{/if}})</span> 9 {{/if}} 10 </span> 11 </figcaption>