From 1d75b7dbcb44f270a7973467209d23fc6fb37e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Wed, 30 Jul 2014 15:59:17 +0200 Subject: [PATCH] Cleaning attachments.jade and add some doc explanation --- app/partials/views/modules/attachments.jade | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/app/partials/views/modules/attachments.jade b/app/partials/views/modules/attachments.jade index 197cd5e6..cef988a0 100644 --- a/app/partials/views/modules/attachments.jade +++ b/app/partials/views/modules/attachments.jade @@ -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)