Skip to content

Commit

Permalink
Switch Authorities and Requests in admin nav
Browse files Browse the repository at this point in the history
Mirror the ordering of these items in the main nav as I'm forever
clicking Authorities when I want Requests and vice versa.
  • Loading branch information
garethrees committed Apr 17, 2024
1 parent 446ed21 commit bb7028c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions app/views/admin_general/_admin_navbar.html.erb
Expand Up @@ -22,15 +22,6 @@
</ul>
</li>

<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Authorities<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><%= link_to 'Authorities', admin_bodies_path %></li>
<li><%= link_to 'Categories', admin_categories_path(model_type: 'PublicBody') %></li>
<li><%= link_to 'Tags', admin_tags_path(model_type: 'PublicBody') %></li>
</ul>
</li>

<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Requests<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
Expand All @@ -43,6 +34,15 @@
</ul>
</li>

<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Authorities<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><%= link_to 'Authorities', admin_bodies_path %></li>
<li><%= link_to 'Categories', admin_categories_path(model_type: 'PublicBody') %></li>
<li><%= link_to 'Tags', admin_tags_path(model_type: 'PublicBody') %></li>
</ul>
</li>

<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Users<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
Expand Down

0 comments on commit bb7028c

Please sign in to comment.