mirror of
https://github.com/wekan/wekan.git
synced 2026-02-04 15:41:52 +01:00
Attachments download
This commit is contained in:
parent
0a1bfd37b3
commit
269698ba78
2 changed files with 2 additions and 265 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue