Index: /main/ngren.theme/trunk/ngren/theme/ngren_theme/rules.xml
===================================================================
--- /main/ngren.theme/trunk/ngren/theme/ngren_theme/rules.xml	(revision 10252)
+++ /main/ngren.theme/trunk/ngren/theme/ngren_theme/rules.xml	(revision 10253)
@@ -29,5 +29,6 @@
 
   <!-- Top / Header -->
-  <copy attributes="href" css:content='#portal-logo' css:theme="#logo-container a" />
+  <copy attributes="href" css:content='#portal-logo'
+        css:theme="#logo-container a" />
 
   <!-- User options (upper right) -->
@@ -43,5 +44,6 @@
             These go into user options dropdown
   -->
-  <copy css:theme="#user-options ul">
+  <copy css:theme="#user-options ul"
+        css:if-content="#portal-personaltools li:nth-child(3)">
     <xsl:for-each css:select="#portal-personaltools li">
       <xsl:if test="not(position() mod 2 = 0)">
@@ -52,4 +54,13 @@
     </xsl:for-each>
   </copy>
+  <!--       if user options are empty (only login and separator):
+             avoid dropdown -->
+  <drop css:theme="#user-options ul"
+        css:if-not-content="#portal-personaltools li:nth-child(3)">
+  </drop>
+  <drop css:theme="#user-options a:nth-child(2)"
+        css:if-not-content="#portal-personaltools li:nth-child(3)">
+  </drop>
+  <!-- /user-options -->
 
   <replace css:theme=".navbar-form" css:content="#portal-searchbox form"/>
