NIHVIVO-564 Describe directive to display methods declared on a template model object that are accessible to the template.
This commit is contained in:
parent
f8176ed041
commit
698d0877c3
9 changed files with 164 additions and 25 deletions
|
@ -0,0 +1,13 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- Template for displaying directive describe -->
|
||||
|
||||
<h3>Methods available to variable <em>${var}</em></h3>
|
||||
|
||||
<div class="dump">
|
||||
<#list methods as method>
|
||||
${method}<br />
|
||||
</#list>
|
||||
</div>
|
||||
|
||||
${stylesheets.add("/css/dump.css")}
|
|
@ -63,3 +63,5 @@ ${scripts.add("/js/script1.js", "/js/script2.js", "/js/script3.js")}
|
|||
<@dumpAll />
|
||||
|
||||
<@help directive="dump" />
|
||||
|
||||
<@describe var="stylesheets" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue