VIVO-11 Add delimiters to Freemarker templates
If enabled by an option in runtime.properties
This commit is contained in:
parent
bb6b2fa970
commit
f350c28d24
4 changed files with 169 additions and 8 deletions
|
@ -692,7 +692,7 @@
|
|||
see the effect of changes to the template. The default is <code>false</code>, which
|
||||
means that a cached copy of each template will be used for 60 seconds
|
||||
before the disk is checked for a new version.
|
||||
<br/><b>Setting this option to "true" slows down VIVO performance.</b>
|
||||
<br/><b>Setting this option to "true" slows down Vitro performance.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="odd_row">
|
||||
|
@ -713,7 +713,7 @@
|
|||
see the effect of changes to the text strings.
|
||||
The default is <code>false</code>, which means that the language file is
|
||||
read when VIVO starts up, or when a new theme is selected.
|
||||
<br/><b>Setting this option to "true" slows down VIVO performance.</b>
|
||||
<br/><b>Setting this option to "true" slows down Vitro performance.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="odd_row">
|
||||
|
@ -725,6 +725,24 @@
|
|||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<b>For developers only.</b>
|
||||
Add starting and ending delimiters to each Freemarker template, so you can see
|
||||
which template were invoked by viewing the generated HTML.
|
||||
The default is <code>false</code>.
|
||||
<br/><b>Setting this option to "true" slows down Vitro performance.</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="odd_row blue">
|
||||
<td>
|
||||
developer.insertFreemarkerDelimiters = true
|
||||
</td>
|
||||
<td>
|
||||
false
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<h3 id="deploy">VI. Compile and deploy</h3>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue