taiga-front/app/partials/attachment/attachment-edit.jade

20 lines
728 B
Plaintext

.attachment-name
span.icon.icon-document
a(href!="<%- url %>", title!="<%- name %> uploaded on <%- created_date %>", target="_blank")
| <%- name %>
.attachment-size
span <%- size %>
.editable.editable-attachment-comment
input(type="text", name="description", maxlength="140",
value!="<%- description %>", placeholder="Type a short description")
.editable.editable-attachment-deprecated
input(type="checkbox", name="is-deprecated",
id!="attach-<%- id %>-is-deprecated")
label(for!="attach-<%- id %>-is-deprecated") Deprecated?
.attachment-settings
a.editable-settings.icon.icon-floppy(href="", title="Save")
a.editable-settings.icon.icon-delete(href="", title="Cancel")