Cleaning attachments.jade and add some doc explanation

stable
David Barragán Merino 2014-07-30 15:59:17 +02:00
parent 256de1a791
commit 1d75b7dbcb
1 changed files with 6 additions and 7 deletions

View File

@ -10,13 +10,13 @@ section.attachments(tg-attachments, ng-model=attachModel)
a.button.button-gray(href="", title="Add new attachment") a.button.button-gray(href="", title="Add new attachment")
span +new file span +new file
div.attachment-body div.attachment-body.sortable
div.hidden.single-attachment(ng-repeat="attach in attachments", div.hidden.single-attachment(ng-repeat="attach in attachments",
tg-attachment="attach", tg-attachment="attach")
ng-model=attachModel)
//- An attachment ('deprecated' class for deprecxated attachments) //- See modules/common/attachments.coffee - AttachmentDirective
//- //-
//- An attachment ('deprecated' class for deprecxated attachments)
//-div.single-attachment //-div.single-attachment
//- div.attachment-name //- div.attachment-name
//- span.icon.icon-document //- 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-edit(href="", "Edit")
//- a.settings.icon.icon-delete(href="", "Delete") //- a.settings.icon.icon-delete(href="", "Delete")
//- a.settings.icon.icon-drag-v(href="", "Drag") //- 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.single-attachment
//- div.attachment-name //- div.attachment-name
//- span.icon.icon-document //- 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-floppy(href="#", "Save")
//- a.editable.icon.icon-delete(href="#", "Cancel") //- 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.text + show deprecated atachments
span.more-attachments-num (0 deprecated) span.more-attachments-num (0 deprecated)