Show only attachments sections in the wiki pages with id
parent
c95c09ffea
commit
0478c9340e
|
@ -1,7 +1,7 @@
|
|||
//- NOTE: You must to define 'var attachModel' with the object model
|
||||
//- that have attachments
|
||||
|
||||
section.attachments(tg-attachments, ng-model=attachModel)
|
||||
section.attachments(tg-attachments, ng-model=attachModel, ng-if="#{attachModel}.id")
|
||||
div.attachments-header
|
||||
h3.attachments-title
|
||||
span.icon.icon-attachments
|
||||
|
|
Loading…
Reference in New Issue