summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/_ticket_data.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'help/app/views/tickets/_ticket_data.html.haml')
-rw-r--r--help/app/views/tickets/_ticket_data.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/help/app/views/tickets/_ticket_data.html.haml b/help/app/views/tickets/_ticket_data.html.haml
index 3d301be..80c0d74 100644
--- a/help/app/views/tickets/_ticket_data.html.haml
+++ b/help/app/views/tickets/_ticket_data.html.haml
@@ -5,6 +5,13 @@
= User.find(@ticket.created_by).login
- else
Unauthenticated ticket creator
+ - if @ticket.regarding_user
+ %b
+ Regarding user:
+ - if regarding_user = User.find_by_login(@ticket.regarding_user)
+ = link_to @ticket.regarding_user, edit_user_path(regarding_user)
+ - else
+ = @ticket.regarding_user + '(no such user)'
- if @ticket.email
%b
email: