summaryrefslogtreecommitdiffstats
path: root/template/en/default/account/prefs
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-07-18 03:28:15 +0200
committergerv%gerv.net <>2002-07-18 03:28:15 +0200
commit42c44b90deed374299ad79604a733ad52116ba7f (patch)
tree09362c469bfa30979e2f7bbe6bae97d319d5155b /template/en/default/account/prefs
parent378c0bc7e095c80102da2a36685eadb6013ebfc0 (diff)
downloadbugzilla-42c44b90deed374299ad79604a733ad52116ba7f.tar.gz
bugzilla-42c44b90deed374299ad79604a733ad52116ba7f.tar.xz
Bug 151648 - QA Contact stuff displayed even if you aren't using QA Contacts. 2xr=jouni.
Diffstat (limited to 'template/en/default/account/prefs')
-rw-r--r--template/en/default/account/prefs/email.html.tmpl13
1 files changed, 9 insertions, 4 deletions
diff --git a/template/en/default/account/prefs/email.html.tmpl b/template/en/default/account/prefs/email.html.tmpl
index 41baae882..4205aee07 100644
--- a/template/en/default/account/prefs/email.html.tmpl
+++ b/template/en/default/account/prefs/email.html.tmpl
@@ -31,6 +31,8 @@
# receiving mail for that reason when in that role.
# Also references the 'supportwatchers' Param.
#%]
+
+[% useqacontact = Param('useqacontact') %]
<table>
[% IF Param('supportwatchers') %]
@@ -97,7 +99,7 @@
<table width="100%" border="1">
<tr>
- <td colspan="5" align="center" width="50%">
+ <td colspan="[% useqacontact ? '5' : '4' %]" align="center" width="50%">
<b>When my relationship to this bug is:</b>
</td>
<td rowspan="2" width="50%">
@@ -112,9 +114,11 @@
<td align="center" width="10%">
<b>Assignee</b>
</td>
- <td align="center" width="10%">
- <b>QA Contact</b>
- </td>
+ [% IF useqacontact %]
+ <td align="center" width="10%">
+ <b>QA Contact</b>
+ </td>
+ [% END %]
<td align="center" width="10%">
<b>CC</b>
</td>
@@ -146,6 +150,7 @@
<tr>
[% FOREACH role = [ "Reporter", "Owner", "QAcontact", "CClist", "Voter" ]
%]
+ [% NEXT IF role == "QAcontact" AND NOT useqacontact %]
<td align="center">
<input type="checkbox" name="email[% role %][% reason.name %]" value="on"
[% " checked" IF $role.${reason.name} %]>