mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Attachment preview on card details again
This commit is contained in:
parent
4603948442
commit
bfef9fc14d
1 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ template(name="attachmentsGalery")
|
|||
each attachments
|
||||
.attachment-item
|
||||
a.attachment-thumbnail.swipebox(href="{{link}}" title="{{name}}")
|
||||
if isUploaded
|
||||
if link
|
||||
if isImage
|
||||
img.attachment-thumbnail-img(src="{{link}}")
|
||||
else if($eq extension 'mp3')
|
||||
|
|
@ -38,7 +38,7 @@ template(name="attachmentsGalery")
|
|||
else
|
||||
span.attachment-thumbnail-ext= extension
|
||||
else
|
||||
span.attachment-thumbnail-ext= extension
|
||||
+spinner
|
||||
p.attachment-details
|
||||
= name
|
||||
span.file-size ({{fileSize size}} KB)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue