summaryrefslogtreecommitdiff
path: root/engines/support/app/views/tickets/_tabs.html.haml
blob: a7347e169202cfa82038d9793781b473e1c00d57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-#
-# SORT ORDER TABS
-#
- unless action?(:new) or action?(:create)
  %ul.nav.nav-pills.pull-right.slim
    - %w(created updated).each do |order|
      = link_to_order(order)

-#
-# STATUS FILTER TABS
-#
%ul.nav.nav-tabs
  - if logged_in?
    - %w(open closed all).each do |status|
      = link_to_status status
  = link_to_navigation ".new", auto_new_ticket_path,
    active: action?(:new) || action?(:create),
    icon: :plus