summaryrefslogtreecommitdiffstats
path: root/extensions/TagNewUsers/template/en
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/TagNewUsers/template/en')
-rw-r--r--extensions/TagNewUsers/template/en/default/hook/bug/comments-user.html.tmpl5
-rw-r--r--extensions/TagNewUsers/template/en/default/hook/bug/show-header-end.html.tmpl (renamed from extensions/TagNewUsers/template/en/default/hook/bug/comments-comment_banner.html.tmpl)4
2 files changed, 3 insertions, 6 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[%
diff --git a/extensions/TagNewUsers/template/en/default/hook/bug/comments-comment_banner.html.tmpl b/extensions/TagNewUsers/template/en/default/hook/bug/show-header-end.html.tmpl
index 396f9c35a..bff73e963 100644
--- a/extensions/TagNewUsers/template/en/default/hook/bug/comments-comment_banner.html.tmpl
+++ b/extensions/TagNewUsers/template/en/default/hook/bug/show-header-end.html.tmpl
@@ -6,6 +6,4 @@
# defined by the Mozilla Public License, v. 2.0.
#%]
-<link
- href="[% 'extensions/TagNewUsers/web/style.css' FILTER mtime FILTER html %]"
- rel="stylesheet" type="text/css" >
+[% style_urls.push('extensions/TagNewUsers/web/style.css') IF user.in_group('canconfirm') %]