source: publico/ILPortal/trunk/skins/ILPortal_templates/menu_superior_macro.pt @ 2558

Última Alteração nesse arquivo desde 2558 foi 2558, incluída por paulovieira, 14 anos atrás

correção de bug na visualização da solicitação

File size: 1.7 KB
Linha 
1<tal:navitem repeat="item options/children">
2
3<li tal:define="parent_shows_children options/show_children|nothing;
4                children item/children|nothing;"
5    tal:condition="python: (not item['no_display']) and (item['currentItem'] or parent_shows_children or children) and (item['review_state']=='published') and (item['portal_type'] in ['Folder','CalendarX','SolicitacaoFolder'])">
6
7    <tal:level define="level               options/level|python:0;
8                       item_type_class     python: 'contenttype-' + here.plone_utils.normalizeString(item['portal_type']);
9                       item_wf_state_class python: 'state-' + here.plone_utils.normalizeString(item['review_state']);
10                       isNaviTree          options/isNaviTree | nothing;
11                       ">
12        <a tal:condition="item/currentItem"
13           tal:attributes="href item/absolute_url;"
14            tal:content="item/Title|nothing">
15            Selected Item Title</a>
16        <tal:children condition="python: parent_shows_children or children">
17        <a tal:condition="not: item/currentItem"
18           tal:attributes="href item/absolute_url;"
19            tal:content="item/Title|nothing">
20            Unselected Item Title</a>
21        </tal:children>
22
23    <ul tal:attributes="class level"
24        tal:define="show_children item/show_children| python:True;"
25        tal:condition="python: (show_children or isNaviTree) and children  and level <=1"
26        tal:content="structure python:here.menu_superior_macro(children=children, level=level+1, show_children=show_children, isNaviTree=isNaviTree)">
27          Get subtree, if available.
28    </ul>
29
30   </tal:level>
31</li>
32
33</tal:navitem>
Note: Veja TracBrowser para ajuda no uso do navegador do trac.
 

The contents and data of this website are published under license:
Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual.