From 29dacd0c2ab05c0542a6a009441fce8c89dd6f3e Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Tue, 2 Jul 2019 12:59:57 -0700 Subject: [PATCH] Markup for the image-file component --- ui/app/templates/components/image-file.hbs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ui/app/templates/components/image-file.hbs b/ui/app/templates/components/image-file.hbs index dc1622054..bc11e407c 100644 --- a/ui/app/templates/components/image-file.hbs +++ b/ui/app/templates/components/image-file.hbs @@ -1,12 +1,11 @@ - + {{or -
- - {{fileName}} +
+ + {{fileName}} {{#if (and width height)}} ({{width}}px × {{height}}{{#if size}}px, {{format-bytes size}}{{/if}}) {{/if}} - {{src}}
\ No newline at end of file