summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/_status-nav.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'help/app/views/tickets/_status-nav.html.haml')
-rw-r--r--help/app/views/tickets/_status-nav.html.haml13
1 files changed, 7 insertions, 6 deletions
diff --git a/help/app/views/tickets/_status-nav.html.haml b/help/app/views/tickets/_status-nav.html.haml
index e1dca84..c8279ed 100644
--- a/help/app/views/tickets/_status-nav.html.haml
+++ b/help/app/views/tickets/_status-nav.html.haml
@@ -1,9 +1,10 @@
%ul.nav.nav-tabs
- %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'
+ - 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