blob: b459545e67bf621493df5c9f77b336565a07af5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
- if admin?
%ul.nav.nav-tabs
%li{:class => ("active" if controller?('users', 'email_settings', 'overviews') || params[:user_id])}
= link_to t(:users), users_path
%li{:class => ("active" if controller?('tickets') && !params[:user_id])}
= link_to t(:tickets), tickets_path
%li
= link_to t(:logout), logout_path, :method => :delete
- if @user && @show_navigation
.user_heading
= @user.email_address
|