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>
|
<#macro dataPropertyList statements>
|
||||||
<#list statements as statement>
|
<#list statements as statement>
|
||||||
<li role="listitem">${statement.value}</li>
|
<@propertyListItem>${statement.value}</@propertyListItem>
|
||||||
</#list>
|
</#list>
|
||||||
</#macro>
|
</#macro>
|
||||||
|
|
||||||
|
@ -62,8 +62,10 @@
|
||||||
|
|
||||||
<#macro objectPropertyList statements template>
|
<#macro objectPropertyList statements template>
|
||||||
<#list statements as statement>
|
<#list statements as statement>
|
||||||
<li role="listitem">
|
<@propertyListItem><#include "${template}"></@propertyListItem>
|
||||||
<#include "${template}">
|
|
||||||
</li>
|
|
||||||
</#list>
|
</#list>
|
||||||
</#macro>
|
</#macro>
|
||||||
|
|
||||||
|
<#macro propertyListItem>
|
||||||
|
<li role="listitem"><#nested></li>
|
||||||
|
</#macro>
|
Loading…
Add table
Reference in a new issue