-
<%= link_to root_path do %>
GRNET NOC
Archiving
<% end %>
<% if current_user %>
<%= content_tag(:li, active_class(clients_path, true)) do %>
<%= link_to 'Clients', clients_path %>
<% end %>
- - <%= link_to current_user.username, '#' %>
<% end %>
<%= content_tag(:li, active_class(faq_path)) do %>
<%= link_to 'FAQ', faq_path %>
<% end %>
+
<% if current_user %>
-
- <%= link_to logout_path do %>
-
- Logout
+ <%= link_to '#', class: 'dropdown-toggle', 'data-toggle' => 'dropdown' do %>
+
+ <%= current_user.username %>
<% end %>
+
<% end %>
+
<%= render partial: 'shared/admin' if current_user.try(:admin?) %>