diff options
author | Romulus Urakagi Tsai <urakagi@gmail.com> | 2020-05-05 14:18:10 +0800 |
---|---|---|
committer | Romulus Urakagi Tsai <urakagi@gmail.com> | 2020-05-05 14:18:10 +0800 |
commit | 269698ba780a0af5fe0b24fc3c2c43d1f3f1b49d (patch) | |
tree | 1a3bc562ee5ef3bad275123d45e7c162a936dd73 /client | |
parent | 0a1bfd37b3b1b2f4108a734c0449c1bd5a1b691f (diff) | |
download | wekan-269698ba780a0af5fe0b24fc3c2c43d1f3f1b49d.tar.gz wekan-269698ba780a0af5fe0b24fc3c2c43d1f3f1b49d.tar.bz2 wekan-269698ba780a0af5fe0b24fc3c2c43d1f3f1b49d.zip |
Attachments download
Diffstat (limited to 'client')
-rw-r--r-- | client/components/cards/attachments.jade | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/cards/attachments.jade b/client/components/cards/attachments.jade index e6e50d7a..57e46e39 100644 --- a/client/components/cards/attachments.jade +++ b/client/components/cards/attachments.jade @@ -29,7 +29,7 @@ template(name="attachmentsGalery") .attachments-galery each attachments .attachment-item - a.attachment-thumbnail.swipebox(href="{{url}}" title="{{name}}") + a.attachment-thumbnail.swipebox(href="{{url}}" download="{{name}}" title="{{name}}") if isUploaded if isImage img.attachment-thumbnail-img(src="{{url}}") @@ -40,7 +40,7 @@ template(name="attachmentsGalery") p.attachment-details = name span.attachment-details-actions - a.js-download(href="{{url download=true}}") + a.js-download(href="{{url download=true}}" download="{{name}}") i.fa.fa-download | {{_ 'download'}} if currentUser.isBoardMember |