summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/params
diff options
context:
space:
mode:
authorReed Loden <reed@reedloden.com>2010-02-10 05:00:48 +0100
committerReed Loden <reed@reedloden.com>2010-02-10 05:00:48 +0100
commit75c45bfe94e44c4bbe77bd11ccfc13b7da57c1bb (patch)
tree1ba546f8bcf80a4fdb6dabbf6557cb857e879ff8 /template/en/default/admin/params
parent8f239b454b12bbef4d3ef6172e03e3006ae2679d (diff)
downloadbugzilla-75c45bfe94e44c4bbe77bd11ccfc13b7da57c1bb.tar.gz
bugzilla-75c45bfe94e44c4bbe77bd11ccfc13b7da57c1bb.tar.xz
Bug 537846 - "Disable the "Reset" checkbox for the maintainer parameter" [r=mkanat a=mkanat]
Diffstat (limited to 'template/en/default/admin/params')
-rw-r--r--template/en/default/admin/params/common.html.tmpl12
1 files changed, 7 insertions, 5 deletions
diff --git a/template/en/default/admin/params/common.html.tmpl b/template/en/default/admin/params/common.html.tmpl
index 5b0d00429..18aa1fb69 100644
--- a/template/en/default/admin/params/common.html.tmpl
+++ b/template/en/default/admin/params/common.html.tmpl
@@ -137,11 +137,13 @@
</font>
[% END %]
</p>
- <p>
- <input type="checkbox" name="reset-[% param.name FILTER html %]"
- id="reset-[% param.name FILTER html %]">
- <label for="reset-[% param.name FILTER html %]">Reset</label>
- </p>
+ [% UNLESS param.no_reset %]
+ <p>
+ <input type="checkbox" name="reset-[% param.name FILTER html %]"
+ id="reset-[% param.name FILTER html %]">
+ <label for="reset-[% param.name FILTER html %]">Reset</label>
+ </p>
+ [% END %]
<hr>
</dd>
[% END %]