diff options
-rw-r--r-- | skins/standard/admin.css | 4 | ||||
-rw-r--r-- | template/en/default/admin/products/create.html.tmpl | 1 | ||||
-rw-r--r-- | template/en/default/admin/products/edit-common.html.tmpl | 15 | ||||
-rw-r--r-- | template/en/default/admin/products/edit.html.tmpl | 1 |
4 files changed, 18 insertions, 3 deletions
diff --git a/skins/standard/admin.css b/skins/standard/admin.css index ef02f69d9..48bf3fed8 100644 --- a/skins/standard/admin.css +++ b/skins/standard/admin.css @@ -34,3 +34,7 @@ p.areyoureallyreallysure { font-size: 120%; font-weight: bold; } + +tr.param_disabled { + background-color: lightgrey; +} 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"> |