setuphandler cleanup
[zope-bootstrap.git] / src / koehsel.theme / koehsel / theme / viewlets / personal_bar.pt
index 7858aef..083ceff 100644 (file)
@@ -1,37 +1,10 @@
-<div id="portal-personaltools-wrapper"
-     i18n:domain="plone">
+<div id="portal-personaltools-wrapper" i18n:domain="plone">
 
-<h5 class="hiddenStructure" i18n:translate="heading_personal_tools">Personal tools</h5>
+  <div id="portal-personaltools" class="visualInline" tal:condition="view/anonymous">&nbsp;</div>
 
-<ul id="portal-personaltools"
-    class="visualInline">
-  <li>&nbsp;</li>
-   <tal:block condition="not: view/anonymous">
-       <li><a 
-           id="user-name"
-           tal:attributes="href view/homelink_url"
-          ><img src="" tal:replace="structure here/user.gif" />
-            <span class="visualCaseSensitive"
-                 tal:content="view/user_name">
-                John
-           </span
-       ></a></li>
-   </tal:block>
+  <ul id="portal-personaltools" class="visualInline" tal:condition="not: view/anonymous">
+    <li><img src="" tal:replace="structure here/user.gif" />
+      <span class="visualCaseSensitive" tal:content="view/user_name">John</span></li>
+  </ul>
 
-    <tal:actions tal:repeat="action view/user_actions">
-        <li tal:define="icon action/icon | nothing;
-                        icon python:icon is not None and icon or view.getIconFor(action['category'], action['id'], None);
-                        class_name string:visualIcon actionicon-${action/category}-${action/id};
-                        class_name python:icon is not None and class_name or nothing;"
-            tal:attributes="class class_name">
-            <a href=""
-               tal:attributes="href action/url;
-                               class python:icon is not None and 'visualIconPadding' or nothing;"
-            ><tal:actionname i18n:translate="" 
-                             tal:content="action/title">dummy</tal:actionname
-            ></a>
-        </li>
-    </tal:actions>
-
-</ul>
 </div>