NIHVIVO-2508 Change template properties to methods so not pre-computed.

This commit is contained in:
ryounes 2011-08-05 22:25:44 +00:00
parent ddd6469a3a
commit b5b44b73c1
6 changed files with 114 additions and 97 deletions

View file

@ -6,10 +6,10 @@
<#if individual.showAdminPanel>
<section id="admin">
<h3>Admin Panel</h3><a class="edit-individual" href="${individual.editUrl}">Edit this individual</a>
<h3>Admin Panel</h3><a class="edit-individual" href="${individual.controlPanelUrl()}">Edit this individual</a>
<section id = "verbose-mode">
<#if verbosePropertySwitch??>
<#if verbosePropertySwitch?has_content>
<#assign anchorId = "verbosePropertySwitch">
<#assign currentValue = verbosePropertySwitch.currentValue?string("on", "off")>
<#assign newValue = verbosePropertySwitch.currentValue?string("off", "on")>