NIHVIVO-1304 Make request and context accessible through the Environment object so directives can reference them.
This commit is contained in:
parent
555c787570
commit
e940ebc379
18 changed files with 188 additions and 131 deletions
|
@ -12,7 +12,7 @@
|
|||
<p><strong>Comments:</strong> ${comments}</p>
|
||||
</#if>
|
||||
|
||||
<h6>Parameters:</h6>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<#if params?? && params?keys?has_content>
|
||||
<ul>
|
||||
<#list params?keys as param>
|
||||
|
@ -22,8 +22,9 @@
|
|||
<#else>
|
||||
<p>none</p>
|
||||
</#if>
|
||||
<br />
|
||||
|
||||
<h6>Examples:</h6>
|
||||
<p><strong>Examples:</strong></p>
|
||||
<#if examples??>
|
||||
<ul>
|
||||
<#list examples as example>
|
||||
|
|
|
@ -46,14 +46,12 @@
|
|||
|
||||
<p><strong>Berries: </strong>${berries}</p>
|
||||
|
||||
|
||||
<@dump var="now" />
|
||||
<@dump var="urls" />
|
||||
<@dump var="fruit" />
|
||||
<@dump var="trueStatement" />
|
||||
<@dump var="zoo1" />
|
||||
|
||||
|
||||
${stylesheets.addFromTheme("/css/sstest.css", "/css/sstest2.css")}
|
||||
${scripts.addFromTheme("/js/jstest.js")}
|
||||
${scripts.add("/js/script1.js", "/js/script2.js", "/js/script3.js")}
|
||||
|
@ -67,5 +65,5 @@ ${scripts.add("/js/script1.js", "/js/script2.js", "/js/script3.js")}
|
|||
|
||||
<@describe var="scripts" />
|
||||
|
||||
|
||||
<@describe var="headScripts" />
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue