Verified Commit 5ea9949c authored by Dave Long's avatar Dave Long
Browse files

fix: #3117430 file-link template should not always display file_size

By: bnjmnm
By: mfb
By: smustgrave
(cherry picked from commit f33a27a3)
parent e47072b6
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14,4 +14,4 @@
 */
#}
{{ attach_library('claro/classy.file') }}
<span{{ attributes }}>{{ link }} <span class="file__size">({{ file_size }})</span></span>
<span{{ attributes }}>{{ link }}{% if file_size %} <span class="file__size">({{ file_size }})</span>{% endif %}</span>