From 05ec759cbdf76b56c55616314a5a19870c728164 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 27 Oct 2005 00:14:31 +0000 Subject: Bug 266143: If Param("usevotes") is off, editing a product should mention it - Patch by GavinS r=LpSolit a=myk --- template/en/default/admin/products/create.html.tmpl | 1 + template/en/default/admin/products/edit-common.html.tmpl | 15 ++++++++++++--- template/en/default/admin/products/edit.html.tmpl | 1 + 3 files changed, 14 insertions(+), 3 deletions(-) (limited to 'template/en/default/admin') 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 %]> - + +[% 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 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'] %]
-- cgit v1.2.3-24-g4f1b