summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/_status-nav.html.haml
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-06-23 22:14:45 -0700
committerelijah <elijah@riseup.net>2013-07-04 04:04:54 -0700
commitd121373b7c21a29e47708e8b67aeb964202e52c5 (patch)
tree92ea7dda1a3c7173785f19f0844cd637984f2924 /help/app/views/tickets/_status-nav.html.haml
parent38544a07de7988eee91343c1491dae1e08ce5034 (diff)
fix several issues with tickets: js error, when to redirect, navigation, localization.
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