]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2342 Improve rendering of user panel
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Thu, 22 Nov 2012 11:11:58 +0000 (12:11 +0100)
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Thu, 22 Nov 2012 11:13:01 +0000 (12:13 +0100)
sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_user_panel.html.erb

index 5b30784d87bbcdcbb0615f5cad6d30fb00ad73c6..869224cf5a8577246c20ca85ccbe990fc7d1800f 100644 (file)
@@ -12,7 +12,7 @@
     <div id="user-details">
       <% if current_user %>
         <b><%= current_user.name(true) -%></b>
-        <% if current_user.email %>
+        <% if current_user.email && !current_user.email.blank? %>
           <br/>
           <span class="note"><%= current_user.email -%></span>
         <% end %>