mirror of
https://github.com/wekan/wekan.git
synced 2026-01-24 10:16:09 +01:00
Fix "Attachments view (gallery) was missing"
This commit is contained in:
parent
ea5025595a
commit
cfccee897e
7 changed files with 289 additions and 250 deletions
|
|
@ -19,9 +19,7 @@ template(name="attachmentsGalery")
|
|||
.attachments-galery
|
||||
each attachments
|
||||
.attachment-item
|
||||
// TODO: Add popup of attachment image later, with some swipebox or lightbox that would not add bugs
|
||||
// a.attachment-thumbnail(href="{{link}}" title="{{name}}")
|
||||
span.attachment-thumbnail(href="{{link}}" title="{{name}}")
|
||||
a.attachment-thumbnail.swipebox(href="{{link}}" title="{{name}}")
|
||||
if link
|
||||
if isImage
|
||||
img.attachment-thumbnail-img(src="{{link}}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue