Glasnost

help

 

METAL Statements: use-macro

metal:use-macro="name"

<ul metal:define-macro="ulRoles"
    tal:condition="user">
  <li tal:repeat="labelAndLink getGotoObjectsLabelsAndLinks()">
    <a tal:attributes="href labelAndLink[1]"
       tal:content="labelAndLink[0]">server</a></li>
</ul>
<ul metal:use-macro="nav.tal/ulRoles" />

(The macro is defined in file nav.tal.)

up