]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_header.html.erb
Remove all the headers
[rails.git] / app / views / layouts / _header.html.erb
index 0b099e1c7bc1ac4a407f19a0187db51845fd16f0..c08b61b574f4b9cd06063e67058166a0572fd5ff 100644 (file)
@@ -24,8 +24,8 @@
           </li>
         <% end %>
       </ul>
-      </li><li id="history_tab" class="<%= current_page_class(browse_changesets_path) %>">
-        <%= link_to t('layouts.history'), browse_changesets_path, :class => 'tab geolink' %>
+      </li><li id="history_tab" class="<%= current_page_class(history_path) %>">
+        <%= link_to t('layouts.history'), history_path, :class => 'tab geolink' %>
       </li><li id="export_tab" class="<%= current_page_class(export_path) %>">
         <%= link_to t('layouts.export'), export_path, :class => 'tab geolink' %>
       </li>
       <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>