summaryrefslogtreecommitdiffstats
path: root/extensions/TagNewUsers/template/en/default/hook/bug/comments-user.html.tmpl
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-04-09 09:13:46 +0200
committerByron Jones <bjones@mozilla.com>2013-04-09 09:13:46 +0200
commit2cc30c4cf799041a110f4023e4a3bbc80c384f75 (patch)
tree7962ec67b7c50b8148499972cd14f106fd48dfe4 /extensions/TagNewUsers/template/en/default/hook/bug/comments-user.html.tmpl
parent3b065327d3a230d43396e673dc8f50e90af8c0e2 (diff)
downloadbugzilla-2cc30c4cf799041a110f4023e4a3bbc80c384f75.tar.gz
bugzilla-2cc30c4cf799041a110f4023e4a3bbc80c384f75.tar.xz
Bug 859313: minimise "Lock wait timeout exceeded" errors in TagNewUser
Diffstat (limited to 'extensions/TagNewUsers/template/en/default/hook/bug/comments-user.html.tmpl')
-rw-r--r--extensions/TagNewUsers/template/en/default/hook/bug/comments-user.html.tmpl5
1 files changed, 2 insertions, 3 deletions
diff --git a/extensions/TagNewUsers/template/en/default/hook/bug/comments-user.html.tmpl b/extensions/TagNewUsers/template/en/default/hook/bug/comments-user.html.tmpl
index 3ee9a3757..81cfc776a 100644
--- a/extensions/TagNewUsers/template/en/default/hook/bug/comments-user.html.tmpl
+++ b/extensions/TagNewUsers/template/en/default/hook/bug/comments-user.html.tmpl
@@ -6,10 +6,9 @@
# defined by the Mozilla Public License, v. 2.0.
#%]
+[% RETURN UNLESS user.in_group('canconfirm') %]
[% IF comment.author.is_new %]
-<span
- class="new_user"
- title="
+<span class="new_user" title="
[%- comment.author.comment_count FILTER html %] comment[% "s" IF comment.author.comment_count != 1 -%]
, created [%
IF comment.author.creation_age == 0 %]today[%