From: jocuri%softhome.net <> Date: Thu, 11 Nov 2004 21:01:19 +0000 (+0000) Subject: Patch for bug 267494 - If param(usevotes) not true, hide 'Voter' column in email... X-Git-Tag: bugzilla-2.16.8~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5284b7636e859c2bcf1c15e5b8197a865ff7fef9;p=thirdparty%2Fbugzilla.git Patch for bug 267494 - If param(usevotes) not true, hide 'Voter' column in email preferences; patch by Shane H. W. Travis , r=vladd, a=justdave. --- diff --git a/template/en/default/account/prefs/email.html.tmpl b/template/en/default/account/prefs/email.html.tmpl index 5bf4920174..71de881c65 100644 --- a/template/en/default/account/prefs/email.html.tmpl +++ b/template/en/default/account/prefs/email.html.tmpl @@ -17,6 +17,7 @@ # Rights Reserved. # # Contributor(s): Gervase Markham + # Shane H. W. Travis #%] [%# INTERFACE: @@ -32,6 +33,7 @@ #%] [% useqacontact = Param('useqacontact') %] +[% usevotes = Param('usevotes') %] [% IF Param('supportwatchers') %] @@ -98,7 +100,7 @@
- - + [% IF usevotes %] + + [% END %] [% FOREACH reason = [ @@ -147,6 +151,7 @@ [% FOREACH role = [ "Reporter", "Owner", "QAcontact", "CClist", "Voter" ] %] [% NEXT IF role == "QAcontact" AND NOT useqacontact %] + [% NEXT IF role == "Voter" AND NOT usevotes %]
+ When my relationship to this bug is: @@ -121,9 +123,11 @@ CC - Voter - + Voter +