summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/products/edit-common.html.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-10-27 02:14:31 +0200
committerlpsolit%gmail.com <>2005-10-27 02:14:31 +0200
commit05ec759cbdf76b56c55616314a5a19870c728164 (patch)
treeb1be26687bb79755951accdd3476fd34e07c0caf /template/en/default/admin/products/edit-common.html.tmpl
parent7ef9d5bb8be67e5bfa611eb19e2fcd349289c38a (diff)
downloadbugzilla-05ec759cbdf76b56c55616314a5a19870c728164.tar.gz
bugzilla-05ec759cbdf76b56c55616314a5a19870c728164.tar.xz
Bug 266143: If Param("usevotes") is off, editing a product should mention it - Patch by GavinS <bugzilla@chimpychompy.org> r=LpSolit a=myk
Diffstat (limited to 'template/en/default/admin/products/edit-common.html.tmpl')
-rw-r--r--template/en/default/admin/products/edit-common.html.tmpl15
1 files changed, 12 insertions, 3 deletions
diff --git a/template/en/default/admin/products/edit-common.html.tmpl b/template/en/default/admin/products/edit-common.html.tmpl
index f6b0d53ce..2bfabcbf7 100644
--- a/template/en/default/admin/products/edit-common.html.tmpl
+++ b/template/en/default/admin/products/edit-common.html.tmpl
@@ -64,13 +64,22 @@
checked="checked"[% END %]>
</td>
</tr>
-<tr>
+
+[% IF !Param('usevotes') %]
+<tr class="param_disabled">
+ <td colspan="2"
+ style="font-family: arial; font-style: italic; font-size: 0.7em; text-align: center;">
+ The 'usevotes' parameter is currently 'off'. These voting
+ settings will take effect when the parameter is next enabled.</td>
+</tr>
+[% END %]
+<tr [% IF !Param('usevotes') %]class="param_disabled" [% END %]>
<th align="right">Maximum votes per person:</th>
<td><input size="5" maxlength="5" name="votesperuser"
value="[% product.votesperuser FILTER html %]">
</td>
</tr>
-<tr>
+<tr [% IF !Param('usevotes') %]class="param_disabled" [% END %]>
<th align="right">
Maximum votes a person can put on a single [% terms.bug %]:
</th>
@@ -78,7 +87,7 @@
value="[% product.maxvotesperbug FILTER html %]">
</td>
</tr>
-<tr>
+<tr [% IF !Param('usevotes') %]class="param_disabled" [% END %]>
<th align="right">
Number of votes [% terms.abug %] in this product needs to
automatically get out of the