source: products/qSiloGroup/tags/0.3.0/skins/qSiloGroup/portlet_navigation.pt @ 1591

Last change on this file since 1591 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="utils nocall:modules/Products/qSiloGroup/utils;
9                   silo python:utils.getCurrentFolder(context);
10                   is_portal python:utils.isPortalOrPortalDefaultPage(context);
11                   default_page python:utils.getDefaultPage(silo);
12                   silo_list here/getSiloData">
13    <dl class="portlet" id="portlet-navigation-tree">
14    <dt class="portletHeader">
15        <tal:title content="python:test(not is_portal, silo.title_or_id(), 'Navigation')" />
16    </dt>
17
18    <dd class="portletItem">
19        <ul class="portletNavigationTree navTreeLevel0">
20            <tal:navitem repeat="item silo_list">
21              <li class="navTreeItem visualNoMarker"
22                  tal:define="item_id item/id;
23                              item_title item/title;"
24                  tal:condition="python:item_id and item_id != default_page and item_title">
25                <div>
26                  <a tal:condition="item_title"
27                     tal:attributes="href python:test(item['link'], item['path'], silo.absolute_url()+'/'+item['path'])"
28                     tal:content="item_title|nothing">
29                     Item Title</a>
30                </div>
31              </li>
32            </tal:navitem>
33        </ul>
34    </dd>
35    <dd class="portletFooter even"
36        tal:condition="python:checkPermission('Manage Portal', silo)">
37        <span>
38            <a tal:attributes="href string:${silo/absolute_url}/folder_contents;">
39                Contents</a> &nbsp;|&nbsp;
40            <a tal:attributes="href string:${silo/absolute_url}/silo_navigation_form;">
41                Edit Nav</a>
42        </span>
43     </dd>
44</dl>
45
46</div>
47</body>
48</html>
Note: See TracBrowser for help on using the repository browser.