Cleaning attachments.jade and add some doc explanation
parent
256de1a791
commit
1d75b7dbcb
|
@ -10,13 +10,13 @@ section.attachments(tg-attachments, ng-model=attachModel)
|
|||
a.button.button-gray(href="", title="Add new attachment")
|
||||
span +new file
|
||||
|
||||
div.attachment-body
|
||||
div.attachment-body.sortable
|
||||
div.hidden.single-attachment(ng-repeat="attach in attachments",
|
||||
tg-attachment="attach",
|
||||
ng-model=attachModel)
|
||||
tg-attachment="attach")
|
||||
|
||||
//- An attachment ('deprecated' class for deprecxated attachments)
|
||||
//- See modules/common/attachments.coffee - AttachmentDirective
|
||||
//-
|
||||
//- An attachment ('deprecated' class for deprecxated attachments)
|
||||
//-div.single-attachment
|
||||
//- div.attachment-name
|
||||
//- span.icon.icon-document
|
||||
|
@ -27,9 +27,8 @@ section.attachments(tg-attachments, ng-model=attachModel)
|
|||
//- a.settings.icon.icon-edit(href="", "Edit")
|
||||
//- a.settings.icon.icon-delete(href="", "Delete")
|
||||
//- a.settings.icon.icon-drag-v(href="", "Drag")
|
||||
|
||||
//- An edittable attachment ('deprecated' class for deprecxated attachments)
|
||||
//-
|
||||
//- An edittable attachment ('deprecated' class for deprecxated attachments)
|
||||
//-div.single-attachment
|
||||
//- div.attachment-name
|
||||
//- span.icon.icon-document
|
||||
|
@ -43,6 +42,6 @@ section.attachments(tg-attachments, ng-model=attachModel)
|
|||
//- a.editable.icon.icon-floppy(href="#", "Save")
|
||||
//- a.editable.icon.icon-delete(href="#", "Cancel")
|
||||
|
||||
a.hidden.more-attachments(href="", title="show atachments history")
|
||||
a.hidden.more-attachments(href="", title="show deprecated atachments")
|
||||
span.text + show deprecated atachments
|
||||
span.more-attachments-num (0 deprecated)
|
||||
|
|
Loading…
Reference in New Issue