summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorTiago Mello <timello@linux.vnet.ibm.com>2010-03-29 15:05:07 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-03-29 15:05:07 +0200
commit8f04aae656cf6218ef3028ab615989c0269af66c (patch)
tree27d9aa97e42ca27d4e8fff10cac60c719ca10dc6 /template
parent4b1b1897d47023ed2a0daee6db1ff012f7b9b498 (diff)
downloadbugzilla-8f04aae656cf6218ef3028ab615989c0269af66c.tar.gz
bugzilla-8f04aae656cf6218ef3028ab615989c0269af66c.tar.xz
Bug 555089: Add hooks in the messages template to warn the user after updating classification or components custom fields
r/a=mkanat
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/messages.html.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl
index 5364f1e98..7a362374f 100644
--- a/template/en/default/global/messages.html.tmpl
+++ b/template/en/default/global/messages.html.tmpl
@@ -188,6 +188,7 @@
[% IF changes.sortkey.defined %]
<li>Sortkey updated to '[% classification.sortkey FILTER html %]'</li>
[% END %]
+ [% Hook.process('classification_updated_fields') %]
</ul>
[% ELSE %]
No changes made to <em>[% classification.name FILTER html %]</em>.
@@ -237,6 +238,8 @@
<li>Default CC list deleted</li>
[% END %]
[% END %]
+ [% Hook.process('component_updated_fields') %]
+ </ul>
[% ELSE %]
No changes made to <em>[% comp.name FILTER html %]</em>.
[% END %]