Disable personal_bar actions
[zope-bootstrap.git] / src / koehsel.theme / koehsel / theme / viewlets / personal_bar.pt
1 <div id="portal-personaltools-wrapper"
2      i18n:domain="plone">
3
4 <h5 class="hiddenStructure" i18n:translate="heading_personal_tools">Personal tools</h5>
5
6 <ul id="portal-personaltools"
7     class="visualInline">
8   <li>&nbsp;</li>
9    <tal:block condition="not: view/anonymous">
10        <li><a 
11            id="user-name"
12            tal:attributes="href view/homelink_url"
13           ><img src="" tal:replace="structure here/user.gif" />
14             <span class="visualCaseSensitive"
15                  tal:content="view/user_name">
16                 John
17            </span
18        ></a></li>
19    </tal:block>
20
21     <tal:actions tal:repeat="action view/user_actions">
22         <li tal:define="icon action/icon | nothing;
23                         icon python:icon is not None and icon or view.getIconFor(action['category'], action['id'], None);
24                         class_name string:visualIcon actionicon-${action/category}-${action/id};
25                         class_name python:icon is not None and class_name or nothing;"
26             tal:attributes="class class_name">
27             <a href=""
28                tal:attributes="href action/url;
29                                class python:icon is not None and 'visualIconPadding' or nothing;"
30             ><tal:actionname i18n:translate="" 
31                              tal:content="action/title">dummy</tal:actionname
32             ></a>
33         </li>
34     </tal:actions>
35
36 </ul>
37 </div>