Commit 42c44b90 authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 151648 - QA Contact stuff displayed even if you aren't using QA Contacts. 2xr=jouni.

parent 378c0bc7
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
# Also references the 'supportwatchers' Param. # Also references the 'supportwatchers' Param.
#%] #%]
[% useqacontact = Param('useqacontact') %]
<table> <table>
[% IF Param('supportwatchers') %] [% IF Param('supportwatchers') %]
<tr> <tr>
...@@ -97,7 +99,7 @@ ...@@ -97,7 +99,7 @@
<table width="100%" border="1"> <table width="100%" border="1">
<tr> <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> <b>When my relationship to this bug is:</b>
</td> </td>
<td rowspan="2" width="50%"> <td rowspan="2" width="50%">
...@@ -112,9 +114,11 @@ ...@@ -112,9 +114,11 @@
<td align="center" width="10%"> <td align="center" width="10%">
<b>Assignee</b> <b>Assignee</b>
</td> </td>
[% IF useqacontact %]
<td align="center" width="10%"> <td align="center" width="10%">
<b>QA Contact</b> <b>QA Contact</b>
</td> </td>
[% END %]
<td align="center" width="10%"> <td align="center" width="10%">
<b>CC</b> <b>CC</b>
</td> </td>
...@@ -146,6 +150,7 @@ ...@@ -146,6 +150,7 @@
<tr> <tr>
[% FOREACH role = [ "Reporter", "Owner", "QAcontact", "CClist", "Voter" ] [% FOREACH role = [ "Reporter", "Owner", "QAcontact", "CClist", "Voter" ]
%] %]
[% NEXT IF role == "QAcontact" AND NOT useqacontact %]
<td align="center"> <td align="center">
<input type="checkbox" name="email[% role %][% reason.name %]" value="on" <input type="checkbox" name="email[% role %][% reason.name %]" value="on"
[% " checked" IF $role.${reason.name} %]> [% " checked" IF $role.${reason.name} %]>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment