summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/_status-nav.html.haml
blob: 8e514975f469e1756ed3a1277b7fc3ddf8ce0e3a (plain)
1
2
3
4
5
6
7
8
9
10
%ul.nav.nav-tabs
  - if logged_in?
    %li{:class => ("active" if search_status == 'open')}
      = link_to_status 'open'
    %li{:class => ("active" if search_status == 'closed')}
      = link_to_status 'closed'
    %li{:class => ("active" if search_status == 'all')}
      = link_to_status 'all'
  %li{:class => ("active" if action?(:new))}
    = link_to icon(:plus, :black) + t(:new_ticket), auto_new_ticket_path