Fix "Attachments view (gallery) was missing"

This commit is contained in:
Martin Filser 2022-07-16 09:41:35 +02:00
parent ea5025595a
commit cfccee897e
7 changed files with 289 additions and 250 deletions

View file

@ -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}}")