source: products/qSiloGroup/tags/0.2.0/skins/qSiloGroup/portlet_navigation.pt @ 3659

Last change on this file since 3659 was 1, checked in by myroslav, 19 years ago

Building directory structure

  • Property svn:eol-style set to native
File size: 1.9 KB
Line 
1<html xmlns:tal="http://xml.zope.org/namespaces/tal"
2      xmlns:metal="http://xml.zope.org/namespaces/metal"
3      i18n:domain="plone">
4<body>
5<div metal:define-macro="portlet"
6       i18n:domain="plone"
7       tal:omit-tag=""
8       tal:define="silo python:test(here.portal_type == 'Folder', here, here.aq_parent);
9                   default_page python:silo.getProperty('default_page',None);
10                   silo_list here/getSiloData">
11<dl class="portlet" id="portlet-navigation-tree">
12    <dt class="portletHeader">
13        <tal:title content="python:test(getattr(silo, 'portal_type', '') == 'Folder', silo.title_or_id(), 'Navigation')" />
14    </dt>
15
16    <dd class="portletItem">
17        <ul class="portletNavigationTree navTreeLevel0">
18            <tal:navitem repeat="item silo_list">
19              <li class="navTreeItem visualNoMarker"
20                  tal:define="item_id item/id;
21                              item_title item/title;"
22                  tal:condition="python:item_id and item_id != default_page and item_title">
23                <div>
24                  <a tal:condition="item_title"
25                     tal:attributes="href python:test(item['link'], item['path'], silo.absolute_url()+'/'+item['path'])"
26                     tal:content="item_title|nothing">
27                     Item Title</a>
28                </div>
29              </li>
30            </tal:navitem>
31        </ul>
32    </dd>
33    <dd class="portletFooter even"
34        tal:condition="python:getattr(silo.aq_explicit, 'portal_type','')=='Folder' and not isAnon and checkPermission('Manage Portal', silo)">
35        <span>
36            <a tal:attributes="href string:${silo/absolute_url}/folder_contents;">
37                Contents</a> &nbsp;|&nbsp;
38            <a tal:attributes="href string:${silo/absolute_url}/silo_navigation_form;">
39                Edit Nav</a>
40        </span>
41     </dd>
42</dl>
43
44</div>
45</body>
46</html>
Note: See TracBrowser for help on using the repository browser.