NIHVIVO-1510 Property list macros
This commit is contained in:
parent
dd4acf965b
commit
0bb02e34bf
1 changed files with 6 additions and 4 deletions
|
@ -48,7 +48,7 @@
|
|||
|
||||
<#macro dataPropertyList statements>
|
||||
<#list statements as statement>
|
||||
<li role="listitem">${statement.value}</li>
|
||||
<@propertyListItem>${statement.value}</@propertyListItem>
|
||||
</#list>
|
||||
</#macro>
|
||||
|
||||
|
@ -62,8 +62,10 @@
|
|||
|
||||
<#macro objectPropertyList statements template>
|
||||
<#list statements as statement>
|
||||
<li role="listitem">
|
||||
<#include "${template}">
|
||||
</li>
|
||||
<@propertyListItem><#include "${template}"></@propertyListItem>
|
||||
</#list>
|
||||
</#macro>
|
||||
|
||||
<#macro propertyListItem>
|
||||
<li role="listitem"><#nested></li>
|
||||
</#macro>
|
Loading…
Add table
Reference in a new issue