First iteration over attachments.jade (only list active attachments)
parent
4f2e260113
commit
14e3ac344b
|
@ -2,39 +2,35 @@ section.attachments
|
||||||
div.attachments-header
|
div.attachments-header
|
||||||
h3.attachments-title
|
h3.attachments-title
|
||||||
span.icon.icon-attachment
|
span.icon.icon-attachment
|
||||||
span.attachments-num 5
|
span.attachments-num {{ attachmentsCount }}
|
||||||
span.attachments-text attachments
|
span.attachments-text attachments
|
||||||
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
|
||||||
- for(var x = 0; x < 3; x++)
|
div.single-attachment(ng-repeat="attach in activeAttachments")
|
||||||
div.single-attachment
|
|
||||||
div.attachment-name
|
div.attachment-name
|
||||||
span.icon.icon-document
|
span.icon.icon-document
|
||||||
a(href="", title="Attachment pefildeusuario.png") pefildeusuariopefildeusuariopefildeusuario.png
|
a(href="{{ attach.url }}", title="{{ attach.name }}" target="_blank") {{ attach.name }}
|
||||||
div.attachment-comment
|
div.attachment-comment
|
||||||
span Comentario sobre el contenido
|
span {{ attach.description }}
|
||||||
span.attachment-size (125kb.)
|
span.attachment-size ({{ attach.size }} B)
|
||||||
a.settings.icon.icon-edit(href="","Edit")
|
a.settings.icon.icon-edit(href="","Edit")
|
||||||
a.settings.icon.icon-drag-v(href="","Drag")
|
a.settings.icon.icon-drag-v(href="","Drag")
|
||||||
|
|
||||||
div.single-attachment.edit
|
//-div.single-attachment.edit
|
||||||
div.attachment-name
|
//- div.attachment-name
|
||||||
span.icon.icon-document
|
//- span.icon.icon-document
|
||||||
a(href="", title="Attachment pefildeusuario.png") pefildeusuariopefildeusuariopefildeusuario.png
|
//- a(href="", title="Attachment pefildeusuario.png") pefildeusuariopefuario.png
|
||||||
div.editable.editable-attachment-comment
|
//- div.editable.editable-attachment-comment
|
||||||
input(type="text")
|
//- input(type="text")
|
||||||
div.editable.editable-attachment-deprecated
|
//- div.editable.editable-attachment-deprecated
|
||||||
label
|
//- label
|
||||||
input(type="checkbox")
|
//- input(type="checkbox")
|
||||||
span Deprecated?
|
//- span Deprecated?
|
||||||
div.editable.attachment-delete
|
//- div.editable.attachment-delete
|
||||||
a.icon.icon-delete(href="#")
|
//- a.icon.icon-delete(href="#")
|
||||||
div.attachment-comment
|
|
||||||
span Comentario sobre el contenido
|
|
||||||
span.attachment-size (125kb.)
|
|
||||||
a.settings.icon.icon-edit(href="","Edit")
|
|
||||||
a.settings.icon.icon-drag-v(href="","Drag")
|
|
||||||
a.more-attachments(href="", title="show atachments history")
|
a.more-attachments(href="", title="show atachments history")
|
||||||
span + show atachments history
|
span + show deprecated atachments
|
||||||
span.more-attachments-num (3 more)
|
span.more-attachments-num ({{ deprecatedAttachmentsCount }} more)
|
||||||
|
|
Loading…
Reference in New Issue