Adding download attribute to attachments
parent
b13cd90a39
commit
1862edaf78
|
@ -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 %>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue