Adding download attribute to attachments

stable
Alejandro Alonso 2015-06-18 10:01:57 +02:00
parent b13cd90a39
commit 1862edaf78
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
.attachment-name
span.icon.icon-document
a(href!="<%- url %>", title!="<%- title %>", target="_blank")
a(href!="<%- url %>", title!="<%- title %>", target="_blank", download!="<%- name %>")
| <%- name %>
.attachment-size
span <%- size %>

View File

@ -1,5 +1,5 @@
.attachment-name
a(href!="<%- url %>", title!="<%- title %>", target="_blank")
a(href!="<%- url %>", title!="<%- title %>", target="_blank", download!="<%- name %>")
span.icon.icon-documents
span <%- name %>
.attachment-size