]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_user_menu.html.erb
Adjust header layout for user menu
[rails.git] / app / views / layouts / _user_menu.html.erb
index ba58f371d28497d3906f5baa0df52eb730fa486e..3b45ade304dacc6478ad7819ac79bda10187ab80 100644 (file)
@@ -1,10 +1,10 @@
-<div class='dropdown' id='greeting'>
+<div class='dropdown'>
   <a class='dropdown-toggle' data-toggle='dropdown' href="#">
     <%= render :partial => 'layouts/inbox' %>
     <%= @user.display_name %>
     <b class="caret"></b>
   </a>
   <a class='dropdown-toggle' data-toggle='dropdown' href="#">
     <%= render :partial => 'layouts/inbox' %>
     <%= @user.display_name %>
     <b class="caret"></b>
   </a>
-  <ul class='dropdown-menu' role='menu' aria-labelledby='dLabel'>
+  <ul class='dropdown-menu'>
     <li>
       <%= link_to inbox_path(:display_name => @user.display_name) do %>
         <span class='count-number'><%= number_with_delimiter(@user.new_messages.size) %></span>
     <li>
       <%= link_to inbox_path(:display_name => @user.display_name) do %>
         <span class='count-number'><%= number_with_delimiter(@user.new_messages.size) %></span>