mirror of
https://github.com/wekan/wekan.git
synced 2026-01-21 16:56:11 +01:00
Rem: upload spinner.
attachmentGalery would need refactoring to an individual attachment component with component state that could be set on the onUpdated event. I'm not capable of doing this within reasonable time.
This commit is contained in:
parent
b27a49a0a9
commit
6ce4501f1b
1 changed files with 3 additions and 6 deletions
|
|
@ -20,13 +20,10 @@ template(name="attachmentsGalery")
|
|||
each attachments
|
||||
.attachment-item
|
||||
a.attachment-thumbnail.swipebox(href="{{link}}" title="{{name}}")
|
||||
if isUploaded
|
||||
if isImage
|
||||
img.attachment-thumbnail-img(src="{{link}}")
|
||||
else
|
||||
span.attachment-thumbnail-ext= extension
|
||||
if isImage
|
||||
img.attachment-thumbnail-img(src="{{link}}")
|
||||
else
|
||||
+spinner
|
||||
span.attachment-thumbnail-ext= extension
|
||||
p.attachment-details
|
||||
= name
|
||||
span.attachment-details-actions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue