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 .attachment-name
span.icon.icon-document span.icon.icon-document
a(href!="<%- url %>", title!="<%- title %>", target="_blank") a(href!="<%- url %>", title!="<%- title %>", target="_blank", download!="<%- name %>")
| <%- name %> | <%- name %>
.attachment-size .attachment-size
span <%- size %> span <%- size %>

View File

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