summaryrefslogtreecommitdiffstats
path: root/extensions/FlagDefaultRequestee/template
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-07-18 08:13:18 +0200
committerByron Jones <glob@mozilla.com>2014-07-18 08:13:18 +0200
commita6b6a99ab9792504df78fe5303ed0655cfb8a4b8 (patch)
tree1c3ceddc704de4f713dcc82572b656ae23a72dc1 /extensions/FlagDefaultRequestee/template
parentb2af966052d36b4029a55f7da197e3b8c05eb9f4 (diff)
downloadbugzilla-a6b6a99ab9792504df78fe5303ed0655cfb8a4b8.tar.gz
bugzilla-a6b6a99ab9792504df78fe5303ed0655cfb8a4b8.tar.xz
Bug 1032883: update FlagDefaultRequestee extension to use object hooks
Diffstat (limited to 'extensions/FlagDefaultRequestee/template')
-rw-r--r--extensions/FlagDefaultRequestee/template/en/default/hook/global/messages-flag_type_updated_fields.html.tmpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/extensions/FlagDefaultRequestee/template/en/default/hook/global/messages-flag_type_updated_fields.html.tmpl b/extensions/FlagDefaultRequestee/template/en/default/hook/global/messages-flag_type_updated_fields.html.tmpl
new file mode 100644
index 000000000..478718d3c
--- /dev/null
+++ b/extensions/FlagDefaultRequestee/template/en/default/hook/global/messages-flag_type_updated_fields.html.tmpl
@@ -0,0 +1,15 @@
+[%# 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.
+ #%]
+
+[% IF changes.default_requestee.defined %]
+ [% IF flagtype.default_requestee %]
+ <li>Default requestee updated to '[% flagtype.default_requestee.login FILTER html %]'</li>
+ [% ELSE %]
+ <li>Default requestee deleted</li>
+ [% END %]
+[% END %]