From 520ce5b4cd66ebb6c66fdecd7e66750c9bc8f00c Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Mon, 6 Aug 2018 12:23:28 -0400 Subject: Bug 1474809 - add "new to bugzilla" tag to non-comment changes --- .../en/default/hook/bug/changes-user.html.tmpl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 extensions/TagNewUsers/template/en/default/hook/bug/changes-user.html.tmpl (limited to 'extensions/TagNewUsers/template/en/default/hook/bug/changes-user.html.tmpl') diff --git a/extensions/TagNewUsers/template/en/default/hook/bug/changes-user.html.tmpl b/extensions/TagNewUsers/template/en/default/hook/bug/changes-user.html.tmpl new file mode 100644 index 000000000..56657c96b --- /dev/null +++ b/extensions/TagNewUsers/template/en/default/hook/bug/changes-user.html.tmpl @@ -0,0 +1,20 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[% RETURN UNLESS user.in_group('canconfirm') %] +[% IF action.who.is_new %] + 365 %]more than a year ago[% +ELSE %][% action.who.creation_age FILTER html %] day[% "s" IF action.who.creation_age != 1 %] ago[% END %]." + > +(New to [% terms.Bugzilla %]) + +[% END %] -- cgit v1.2.3-24-g4f1b