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