source: WAeUP_SRP/branches/regebro-noskins/skins/waeup_design/widget_portlet_actions.pt @ 16536

Last change on this file since 16536 was 1693, checked in by Henrik Bettermann, 18 years ago

minor changes

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1<tal:block define="ds options/datastructure;
2                   categories ds/categories;
3                   actions_order ds/actions_order|python:[];
4                   context nocall:options/context_obj|here;
5                   show_icons ds/show_icons|python:1;
6                   show_icons python: int(show_icons);
7                   actionitems python: here.getActionsItems(context, categories, actions_order);
8                   base_url here/getBaseUrl"
9                   condition="actionitems">
10    <ul class="cpsskinsMenu">
11      <li tal:repeat="action actionitems"><a
12       tal:define="icon_tag action/icon_tag"
13       tal:attributes="href action/url;
14                       class python:show_icons and icon_tag and 'noicon' or None">
15         <tal:block condition="python:show_icons and icon_tag"
16           content="structure icon_tag"/>
17         <tal:block condition="python:show_icons and not icon_tag">
18           <img tal:attributes="src
19             string:${base_url}images/noicon.png;
20             alt action/title" />
21         </tal:block>
22         <tal:block i18n:translate="" content="action/title" />
23       </a>
24       </li>
25    </ul>
26</tal:block>
Note: See TracBrowser for help on using the repository browser.