summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/show.html.haml
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-07-03 11:11:10 -0700
committerelijah <elijah@riseup.net>2013-07-04 04:12:59 -0700
commit0cd386e0144601f5478f90bbdb401d55c019c828 (patch)
treee5a1eb9bf6e8031d9367c869f46ba717f2906c9c /help/app/views/tickets/show.html.haml
parent179a6457d4e56052664a6895bb9ab5b721b57352 (diff)
better ticket view navigation: tickets are now either global in scope (for admins) or stay as a nested resource for a particular user (for normal users and when you visit the tickets list of a particular user).
Diffstat (limited to 'help/app/views/tickets/show.html.haml')
-rw-r--r--help/app/views/tickets/show.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/help/app/views/tickets/show.html.haml b/help/app/views/tickets/show.html.haml
index ddd4e9f..bfdb773 100644
--- a/help/app/views/tickets/show.html.haml
+++ b/help/app/views/tickets/show.html.haml
@@ -1,3 +1,5 @@
+- @show_navigation = !params[:user_id].nil?
+
.ticket
= render 'tickets/edit_form'
%table.table.table-striped.table-bordered