Glasnost Help and Documentation
Developers
Templates
TAL and METAL
METAL
METAL Statements: define-macro
METAL Statements: define-macro
metal:define-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>

