Reintroduce just the logged-in notice in the personal bar
Stefan Bund [Sat, 24 Oct 2009 07:57:20 +0000 (09:57 +0200)]
src/koehsel.theme/koehsel/theme/viewlets/personal_bar.pt

index 6e16f2a..083ceff 100644 (file)
@@ -1,6 +1,10 @@
-<div id="portal-personaltools-wrapper"
-     i18n:domain="plone">
+<div id="portal-personaltools-wrapper" i18n:domain="plone">
 
-<div id="portal-personaltools" class="visualInline">&nbsp;</div>
+  <div id="portal-personaltools" class="visualInline" tal:condition="view/anonymous">&nbsp;</div>
+
+  <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>
 
 </div>