]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_header.html.erb
Improve changeset template
[rails.git] / app / views / layouts / _header.html.erb
index 130c7136327caab1e2feb313f7b5ea420835b2f1..c08b61b574f4b9cd06063e67058166a0572fd5ff 100644 (file)
       <li class="<%= current_page_class(about_path) %>"><%= link_to t('layouts.about'), about_path %></li>
     </ul>
     <% if @user %>
-      <div class='dropdown user-menu'>
+      <div class='dropdown user-menu logged-in'>
         <a class='dropdown-toggle' data-toggle='dropdown' href="#">
-          <%= user_thumbnail_tiny(@user, :size => 20, :width => 20, :height => 20)
+          <%= user_thumbnail_tiny(@user, :size => 25, :width => 25, :height => 25)
           %><%= render :partial => 'layouts/inbox'
-        %><span class='username'><%= @user.display_name %></span>
-          <b class="caret"></b>
+        %><span class="user-button"><span class='username'><%= @user.display_name %></span>
+          <b class="caret"></b></span>
         </a>
         <ul class='dropdown-menu'>
           <li>