summaryrefslogtreecommitdiffstats
path: root/client/components/cards/attachments.jade
diff options
context:
space:
mode:
authorBrooks Becton <broabect@ut.utm.edu>2017-10-28 10:15:05 -0500
committerBrooks Becton <broabect@ut.utm.edu>2017-10-28 10:15:47 -0500
commitd48043c7eef6e4314137d19149dbc7a7cbe4b615 (patch)
treec72284de6e4d00b2aa8fc14e5d07af371ea6cc09 /client/components/cards/attachments.jade
parentdd1a8ade5eabab15e91a41585d5848cf9abf7a05 (diff)
downloadwekan-d48043c7eef6e4314137d19149dbc7a7cbe4b615.tar.gz
wekan-d48043c7eef6e4314137d19149dbc7a7cbe4b615.tar.bz2
wekan-d48043c7eef6e4314137d19149dbc7a7cbe4b615.zip
Added swipebox package and added it to attachement images
Also removed '.js-open-viewer' and it's styling stub
Diffstat (limited to 'client/components/cards/attachments.jade')
-rw-r--r--client/components/cards/attachments.jade4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/cards/attachments.jade b/client/components/cards/attachments.jade
index e35b364a..c8442691 100644
--- a/client/components/cards/attachments.jade
+++ b/client/components/cards/attachments.jade
@@ -21,11 +21,11 @@ template(name="attachmentDeletePopup")
template(name="attachmentsGalery")
.attachments-galery
each attachments
- a.attachment-item.js-open-viewer(title="{{_ 'added'}} {{ moment uploadedAt }}")
+ a.attachment-item.swipebox(href="{{url}}" title="{{name}}")
.attachment-thumbnail
if isUploaded
if isImage
- img.attachment-thumbnail-img.js-preview-image(src="{{url}}")
+ img.attachment-thumbnail-img(src="{{url}}")
else
span.attachment-thumbnail-ext= extension
else