aboutsummaryrefslogtreecommitdiffstats
path: root/extensions/Example/template/en/default/hook/global
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-02-10 16:00:32 -0800
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-02-10 16:00:32 -0800
commitf6fc02e572ba07782a272e8fc8f9f45e13ba4896 (patch)
treef88912a82e4a85661d61716e5f3975ea35ed838b /extensions/Example/template/en/default/hook/global
parent80477beb472a83f6fa711358372db9edf6209c39 (diff)
downloadbugs-f6fc02e572ba07782a272e8fc8f9f45e13ba4896.tar
bugs-f6fc02e572ba07782a272e8fc8f9f45e13ba4896.tar.gz
bugs-f6fc02e572ba07782a272e8fc8f9f45e13ba4896.tar.bz2
bugs-f6fc02e572ba07782a272e8fc8f9f45e13ba4896.tar.xz
bugs-f6fc02e572ba07782a272e8fc8f9f45e13ba4896.zip
Bug 545524: New Hook: object_validators
r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'extensions/Example/template/en/default/hook/global')
-rw-r--r--extensions/Example/template/en/default/hook/global/user-error-errors.html.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/Example/template/en/default/hook/global/user-error-errors.html.tmpl b/extensions/Example/template/en/default/hook/global/user-error-errors.html.tmpl
index df5a203dd..50d20a9f2 100644
--- a/extensions/Example/template/en/default/hook/global/user-error-errors.html.tmpl
+++ b/extensions/Example/template/en/default/hook/global/user-error-errors.html.tmpl
@@ -9,4 +9,7 @@
[% IF error == "example_my_error" %]
[% title = "Example Error Title" %]
This is the error message! It contains <em>some html</em>.
+[% ELSIF error == "example_short_desc_invalid" %]
+ [% title = "Bad Summary" %]
+ The Summary must contain the word "example".
[% END %]