diff options
author | lpsolit%gmail.com <> | 2005-10-27 02:14:31 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-10-27 02:14:31 +0200 |
commit | 05ec759cbdf76b56c55616314a5a19870c728164 (patch) | |
tree | b1be26687bb79755951accdd3476fd34e07c0caf /template/en/default | |
parent | 7ef9d5bb8be67e5bfa611eb19e2fcd349289c38a (diff) | |
download | bugzilla-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')
-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 |
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"> |