blob: fbc46b398f11c824b2d07a2710be8219b282cec0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
- if admin?
%ul.nav.nav-tabs
= # this navigation isn't quite right. also, we will want to active for an identity controller once it is added.
%li{:class => ("active" if controller?('users', 'overviews') || params[:user_id])}
= link_to t(:users), users_path
%li{:class => ("active" if controller?('tickets') && !params[:user_id])}
= link_to t(".tickets", cascade: true), tickets_path
%li
= link_to t(:logout), logout_path, :method => :delete
- if @user && @show_navigation
.lead
= @user.email_address
|