Skip to content

Commit

Permalink
admin tools in login menu, closes publiclab#599 (publiclab#1008)
Browse files Browse the repository at this point in the history
* admin tools in login menu

* Update _header.html.erb

* Update _header.html.erb
  • Loading branch information
500swapnil authored and jywarren committed Nov 23, 2016
1 parent f872f87 commit 519711b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/layouts/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@
<li><a href="/subscriptions"><%= t('layout._header.subscriptions') %></a></li>
<li><a href="/profile/<%= current_user.username %>/likes"><%= t('layout._header.notes_liked') %></a></li>
<li class="divider"></li>
<% if current_user.role == 'admin' %>
<li class="divider"></li>
<li><a href="/useremail">Email search</a></li>
<% end %>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="fa fa-language" aria-hidden="true"></i>
Expand Down

0 comments on commit 519711b

Please sign in to comment.