From: lpsolit%gmail.com <> Date: Thu, 27 Oct 2005 00:14:31 +0000 (+0000) Subject: Bug 266143: If Param("usevotes") is off, editing a product should mention it - Patch... X-Git-Tag: bugzilla-2.22rc1~190 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05ec759cbdf76b56c55616314a5a19870c728164;p=thirdparty%2Fbugzilla.git Bug 266143: If Param("usevotes") is off, editing a product should mention it - Patch by GavinS r=LpSolit a=myk --- diff --git a/skins/standard/admin.css b/skins/standard/admin.css index ef02f69d9a..48bf3fed80 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 dc60299b8d..fd1ed34cc8 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 f6b0d53ce0..2bfabcbf7b 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 %]> - + +[% IF !Param('usevotes') %] + + + The 'usevotes' parameter is currently 'off'. These voting + settings will take effect when the parameter is next enabled. + +[% END %] + Maximum votes per person: - + Maximum votes a person can put on a single [% terms.bug %]: @@ -78,7 +87,7 @@ value="[% product.maxvotesperbug FILTER html %]"> - + 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 089ce4c8db..4e8cc7b195 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'] %]