]> git.openstreetmap.org Git - rails.git/commitdiff
Correctly sort the Copyright item in the compact menu
authorMarkus Heidelberg <markus.heidelberg@web.de>
Thu, 17 Mar 2016 08:29:07 +0000 (09:29 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 17 Mar 2016 10:27:29 +0000 (10:27 +0000)
In the default menu it had been moved left by commit bfd11bf79 but
the compact drop-down menu had not been adapted accordingly.

Closes #1185

app/views/layouts/_header.html.erb

index 116cf227d9ad9b382e8a29265a7bdae4d05844bf..a8811c6c9c39ff27842ba803faef9aa651fb5036 100644 (file)
@@ -48,9 +48,9 @@
         <ul class="dropdown-menu">
           <li class="<%= current_page_class(traces_path) %>"><%= link_to t('layouts.gps_traces'), traces_path %></li>
           <li class="<%= current_page_class(diary_path) %>"><%= link_to t('layouts.user_diaries'), diary_path %></li>
+          <li class="<%= current_page_class(copyright_path) %>"><%= link_to t('layouts.copyright'), copyright_path %></li>
           <li class="<%= current_page_class(help_path) %>"><%= link_to t('layouts.help'), help_path %></li>
           <li class="<%= current_page_class(about_path) %>"><%= link_to t('layouts.about'), about_path %></li>
-          <li class="<%= current_page_class(copyright_path) %>"><%= link_to t('layouts.copyright'), copyright_path %></li>
         </ul>
       </li>
     </ul>