source: WAeUP_SRP/branches/joachim-azax-branch/skins/waeup_custom/widget_portlet_breadcrumbs.pt @ 15344

Last change on this file since 15344 was 486, checked in by joachim, 18 years ago

svn -R propset svn:keywords "Id" .
added layout_application_/edit/create/view
and cleaned that up.

  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1<tal:block define="ds options/datastructure;
2                   display ds/display;
3                   display_hidden_folders ds/display_hidden_folders;
4                   display_site_root ds/display_site_root;
5                   highlight_last_item ds/highlight_last_item;
6                   highlight_last_item python:int(highlight_last_item);
7                   first_item ds/first_item;
8                   context nocall:options/context_obj|here;
9                   utool nocall:here/portal_url;
10                   context_url python: utool.getRelativeUrl(context);
11                   base_url python: request.get('cpsskins_base_url');
12                   breadcrumbsItems python: context.getBreadcrumbsItems(context=context, display_hidden_folders=display_hidden_folders, first_item=first_item, display_site_root=display_site_root)">
13  <tal:block condition="python: display == 'horizontal_trail'">
14    <!-- the icon should be made optional, e.g. with a "show icon" option -->
15    You are here:
16    <img tal:attributes="src
17      string:${base_url}cpsskins_images/UpFolder_icon.png;
18      alt string:Up Folder" />
19    <tal:block repeat="item breadcrumbsItems">
20      <tal:block define="last_item repeat/item/end">
21        <strong tal:omit-tag="python: not (highlight_last_item and last_item)">
22        <a href="" tal:attributes="href item/url"
23         tal:content="python: item['title']" />
24        </strong>
25        <tal:block condition="not:last_item"
26         content="structure string:&gt;" />
27      </tal:block>
28    </tal:block>
29  </tal:block>
30</tal:block>
Note: See TracBrowser for help on using the repository browser.