NIHVIVO-1564 Handle one level of nesting of template model objects in variable dump
This commit is contained in:
parent
b92a9c483d
commit
cdaaf369f0
3 changed files with 88 additions and 19 deletions
|
@ -3,7 +3,10 @@
|
|||
<#-- Template for dumping a template variable -->
|
||||
|
||||
<div class="var">
|
||||
<p><strong>Variable name: ${var}</strong></p>
|
||||
<#if var??> <#-- not defined for a nested template model object -->
|
||||
<p><strong>Variable name: ${var}</strong></p>
|
||||
</#if>
|
||||
|
||||
<#if value??>
|
||||
<p><strong>Type:</strong> ${type}</p>
|
||||
<p><strong>Value:</strong> ${value}</p>
|
||||
|
@ -13,7 +16,7 @@
|
|||
<p><strong>Properties:</strong></p>
|
||||
<ul>
|
||||
<#list properties?keys as property>
|
||||
<li>${property}: ${properties[property]?html}</li>
|
||||
<li>${property}: ${properties[property]}</li>
|
||||
</#list>
|
||||
</ul>
|
||||
</#if>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue