summaryrefslogtreecommitdiffstats
path: root/extensions/Example/template/en/default
diff options
context:
space:
mode:
authorrojanu <aliustek@gmail.com>2011-01-22 18:51:36 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2011-01-22 18:51:36 +0100
commit3ba91b28893ab0192f995067404c90f2143e425a (patch)
treea04643f48583f33307009bd31fd9fa157e30e1ee /extensions/Example/template/en/default
parent721dfc64e95140c48726738770cd22b71ac36702 (diff)
downloadbugzilla-3ba91b28893ab0192f995067404c90f2143e425a.tar.gz
bugzilla-3ba91b28893ab0192f995067404c90f2143e425a.tar.xz
Bug 624696: We need a template hook to add a description to parameters added by extensions
r/a=mkanat
Diffstat (limited to 'extensions/Example/template/en/default')
-rw-r--r--extensions/Example/template/en/default/hook/admin/params/editparams-current_panel.html.tmpl23
1 files changed, 23 insertions, 0 deletions
diff --git a/extensions/Example/template/en/default/hook/admin/params/editparams-current_panel.html.tmpl b/extensions/Example/template/en/default/hook/admin/params/editparams-current_panel.html.tmpl
new file mode 100644
index 000000000..4ed719fe0
--- /dev/null
+++ b/extensions/Example/template/en/default/hook/admin/params/editparams-current_panel.html.tmpl
@@ -0,0 +1,23 @@
+[%# The contents of this file are subject to the Mozilla Public
+ # License Version 1.1 (the "License"); you may not use this file
+ # except in compliance with the License. You may obtain a copy of
+ # the License at http://www.mozilla.org/MPL/
+ #
+ # Software distributed under the License is distributed on an "AS
+ # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ # implied. See the License for the specific language governing
+ # rights and limitations under the License.
+ #
+ # The Original Code is the Example Bugzilla Extension.
+ #
+ # The Initial Developer of the Original Code is Ali Ustek
+ # Portions created by the Initial Developer are Copyright (C) 2011 the
+ # Initial Developer. All Rights Reserved.
+ #
+ # Contributor(s):
+ # Ali Ustek <aliustek@gmail.com>
+ #%]
+
+[% IF panel.name == "auth" %]
+ [% panel.param_descs.param_example ='Example new parameter' %]
+[% END -%]