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-06-23 22:14:45 -0700
commitfdf67344a80fcde0aab21c27d00412eeca609ca1 (patch)
tree4aef080bfabd06dc177ff5e1601f43268602b93f /help/app/views/tickets/_status-nav.html.haml
parent9f8549fd485ee3dc9e63850a2af2a8859fdb70cc (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