Glasnost

Fonctions

<p tal:content="canAddObject('articles')" />
<ul>
 <li tal:repeat="labelAndLink getGotoObjectsLabelsAndLinks()">
   <a tal:attributes="href labelAndLink[1]"
      tal:content="labelAndLink[0]">server</a>
 </li>
</ul>
<ul>
  <li tal:repeat="art getLastObjects('articles', 20)">
    <a tal:attributes="href art.getUrl()" 
       tal:content="art.label">article</a>,
    <span tal:replace="art.modificationTime.euro">modif</span>
  </li>
</ul>
<p tal:content="getMainRubric().label" />
<div tal:replace="structure getMenuIds(['articles'])" />
<ul>
 <li tal:repeat="labelAndLink getNewObjectLabelsAndLinks()">
   <a tal:attributes="href labelAndLink[1]"                                         
      tal:content="labelAndLink[0]">server</a>
 </li>
</ul>
<div tal:define="pathT getPathToObject(currentObject)"
     tal:condition="pathT and len(pathT) > 2">
  <span tal:replace="' / '.join([ x.label for x in pathT[1:]])" />
</div>
<ul>
  <li tal:repeat="role [x for x in getServerRoles()]" 
      tal:content="role.label" />
</ul>