summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/_comment.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/_comment.html.haml
parent9f8549fd485ee3dc9e63850a2af2a8859fdb70cc (diff)
fix several issues with tickets: js error, when to redirect, navigation, localization.
Diffstat (limited to 'help/app/views/tickets/_comment.html.haml')
-rw-r--r--help/app/views/tickets/_comment.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/help/app/views/tickets/_comment.html.haml b/help/app/views/tickets/_comment.html.haml
index c02246c..4252eee 100644
--- a/help/app/views/tickets/_comment.html.haml
+++ b/help/app/views/tickets/_comment.html.haml
@@ -6,9 +6,9 @@
- if comment.posted_by_user
= comment.posted_by_user.login
- else
- = t(:unknown)
+ = t(:anonymous)
%div= comment.posted_at.to_s(:short)
- - if comment.posted_by_user.is_admin?
+ - if comment.posted_by_user && comment.posted_by_user.is_admin?
%div
%span.label.label-inverse
= t(:admin)