summaryrefslogtreecommitdiff
path: root/app/views/layouts/_header.html.haml
blob: 854ab40e29034c1ffe2e7d5aa60eed7b61a4f484 (plain)
1
2
3
4
5
6
7
8
9
- 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
- if user && @show_navigation
  .user_heading
    = user.email_address