summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/admin/products/create.html.tmpl1
-rw-r--r--template/en/default/admin/products/edit-common.html.tmpl15
-rw-r--r--template/en/default/admin/products/edit.html.tmpl1
3 files changed, 14 insertions, 3 deletions
diff --git a/template/en/default/admin/products/create.html.tmpl b/template/en/default/admin/products/create.html.tmpl
index dc60299b8..fd1ed34cc 100644
--- a/template/en/default/admin/products/create.html.tmpl
+++ b/template/en/default/admin/products/create.html.tmpl
@@ -25,6 +25,7 @@
[% PROCESS global/header.html.tmpl
title = title
+ style_urls = ['skins/standard/admin.css']
%]
[% DEFAULT
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
diff --git a/template/en/default/admin/products/edit.html.tmpl b/template/en/default/admin/products/edit.html.tmpl
index 089ce4c8d..4e8cc7b19 100644
--- a/template/en/default/admin/products/edit.html.tmpl
+++ b/template/en/default/admin/products/edit.html.tmpl
@@ -31,6 +31,7 @@
[% PROCESS global/header.html.tmpl
title = title
+ style_urls = ['skins/standard/admin.css']
%]
<form method="post" action="editproducts.cgi">