Cleanup display for IE.
git-svn-id: svn://10.0.0.236/trunk@227995 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
71ee0a4b22
commit
53a486183b
@ -45,7 +45,7 @@
|
||||
list => product.milestones
|
||||
default => build.milestone } %]</td>
|
||||
<th align="right">Active:</th>
|
||||
<td width="20"><input type="checkbox" name="isactive" value="1" [% 'checked="checked"' IF build.isactive OR action == 'do_add'%]</td>
|
||||
<td width="20"><input type="checkbox" style="border: none" name="isactive" value="1" [% 'checked="checked"' IF build.isactive OR action == 'do_add'%]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th align="right" valign="top">Build Description: </th>
|
||||
|
||||
@ -96,7 +96,7 @@
|
||||
<table>
|
||||
[% FOREACH plan = case.plans %]
|
||||
<tr>
|
||||
<td><input type="checkbox" name="plan_id" value="[% plan.id FILTER none %]" checked="checked"></td>
|
||||
<td><input type="checkbox" style="border: none" name="plan_id" value="[% plan.id FILTER none %]" checked="checked"></td>
|
||||
<td>[% plan.name FILTER html %]</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Create a Copy
|
||||
<input type="radio" name="copymethod" value="copy" checked="checked"></td>
|
||||
<input type="radio" style="border: none" name="copymethod" value="copy" checked="checked"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
@ -56,7 +56,7 @@
|
||||
<table style="border: solid 1px #000;">
|
||||
<tr>
|
||||
<td align="right">Copy to Existing Plans</td>
|
||||
<td><input type="checkbox" name="existing" value="1" checked="checked"></td>
|
||||
<td><input type="checkbox" style="border: none" name="existing" value="1" checked="checked"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Copy to Additional Plans</td>
|
||||
@ -68,25 +68,25 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="TOP" align="RIGHT">Maintain Case Author:</td>
|
||||
<td><input type="radio" name="keepauthor" value="1" checked />Yes <input
|
||||
type="radio" name="keepauthor" value="0" />No, make me the author of the new case.</td>
|
||||
<td><input type="radio" style="border: none" name="keepauthor" value="1" checked />Yes <input
|
||||
type="radio" style="border: none" name="keepauthor" value="0" />No, make me the author of the new case.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="right">Copy Document</td>
|
||||
<td><input type="radio" name="copy_doc" value="1" checked="checked">Yes <input type="radio" name="copy_doc" value="0">No</td>
|
||||
<td><input type="radio" style="border: none" name="copy_doc" value="1" checked="checked">Yes <input type="radio" style="border: none" name="copy_doc" value="0">No</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Copy Attachments</td>
|
||||
<td><input type="radio" name="copy_attachments" value="1">Yes <input type="radio" name="copy_attachments" checked="checked" value="0">No</td>
|
||||
<td><input type="radio" style="border: none" name="copy_attachments" value="1">Yes <input type="radio" style="border: none" name="copy_attachments" checked="checked" value="0">No</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Copy Tags</td>
|
||||
<td><input type="radio" name="copy_tags" value="1" checked="checked">Yes <input type="radio" name="copy_tags" value="0">No</td>
|
||||
<td><input type="radio" style="border: none" name="copy_tags" value="1" checked="checked">Yes <input type="radio" style="border: none" name="copy_tags" value="0">No</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">Copy Components</td>
|
||||
<td><input type="radio" name="copy_comps" value="1" checked="checked">Yes <input type="radio" name="copy_comps" value="0">No</td>
|
||||
<td><input type="radio" style="border: none" name="copy_comps" value="1" checked="checked">Yes <input type="radio" style="border: none" name="copy_comps" value="0">No</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
@ -97,7 +97,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">Create a Link
|
||||
<input type="radio" name="copymethod" value="link"></td>
|
||||
<input type="radio" style="border: none" name="copymethod" value="link"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
@ -214,9 +214,9 @@ found.</b>
|
||||
<th colspan="3">Clone selected cases to the following plans
|
||||
(comma-separated list of ids):</th>
|
||||
<td><input name="linkplans" />
|
||||
<input type="radio" name="copymethod" value="copy" checked="checked">Copy
|
||||
<input type="radio" name="copymethod" value="link">Link<br/>
|
||||
<input type="checkbox" name="newauthor">Make me the author of copied cases.</td>
|
||||
<input type="radio" style="border: none" name="copymethod" value="copy" checked="checked">Copy
|
||||
<input type="radio" style="border: none" name="copymethod" value="link">Link<br/>
|
||||
<input type="checkbox" style="border: none" name="newauthor">Make me the author of copied cases.</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
@ -71,7 +71,7 @@ Select:
|
||||
<td class="cc_trg" valign="top" width="24">
|
||||
<table style="border-spacing:0px;border-collapse:collapse;" width="24">
|
||||
<tr>
|
||||
<td style="padding:0;border-width:0;">[% IF dotweak %]<input type="checkbox" id="c_[% case.id FILTER none %]" name="c_[% case.id FILTER none %]" onclick="[% IF canedit %]ck(this);[% ELSE %]_disable_sr=true;[% END %]">[% END %]</td>
|
||||
<td style="padding:0;border-width:0;">[% IF dotweak %]<input type="checkbox" style="border: none" id="c_[% case.id FILTER none %]" name="c_[% case.id FILTER none %]" onclick="[% IF canedit %]ck(this);[% ELSE %]_disable_sr=true;[% END %]">[% END %]</td>
|
||||
<td style="padding:0;border-width:0;">[% IF loop.size < MAX_LIMIT %]<img id="id[% index FILTER none %]" src="testopia/img/tr.gif" width="11" height="11">[% END %]</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@ -49,7 +49,7 @@ Select:
|
||||
</tr>
|
||||
[% FOREACH caserun = table.list %]
|
||||
<tr class="[% loop.count % 2 == 0 ? "bz_row_odd" : "bz_row_even" %]" [% IF NOT dotweak %]style="cursor:pointer;" onclick="location='tr_show_caserun.cgi?caserun_id=[% caserun.id FILTER none %]'" [% END%]>
|
||||
[% IF dotweak %]<td align="center"><input type="checkbox" id="r_[% caserun.id FILTER none %]" name="r_[% caserun.id FILTER none %]" /></td> [% END %]
|
||||
[% IF dotweak %]<td align="center"><input type="checkbox" style="border: none" id="r_[% caserun.id FILTER none %]" name="r_[% caserun.id FILTER none %]" /></td> [% END %]
|
||||
[% IF dotweak %]<td align="center"><a href="tr_show_case.cgi?case_id=[% caserun.case.id FILTER none %]" title="[% caserun.case.summary FILTER html %]">[% caserun.case.id FILTER html %]</a></td>
|
||||
<td>[% caserun.case.summary FILTER html %]</td>
|
||||
[% END %]
|
||||
|
||||
@ -58,7 +58,7 @@ This case has <a href="buglist.cgi?bug_id=[% caserun.bug_list FILTER none %]">[%
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
<p>
|
||||
<input type="checkbox" name="single" id="single" value="1" /><label for="single">Only remove this case-run for environment <b>[% caserun.environment.name FILTER html %]</b> and build <b>[% caserun.build.name FILTER html %]</b></label><br/>
|
||||
<input type="checkbox" style="border: none" name="single" id="single" value="1" /><label for="single">Only remove this case-run for environment <b>[% caserun.environment.name FILTER html %]</b> and build <b>[% caserun.build.name FILTER html %]</b></label><br/>
|
||||
</p>
|
||||
|
||||
<input type="hidden" name="caserun_id" value="[% caserun.id FILTER none %]" />
|
||||
|
||||
@ -99,7 +99,7 @@
|
||||
</td>
|
||||
<th align="right">Attach [% terms.Bugs %]</th>
|
||||
<td><input name="bugs"> <a href="enter_bug.cgi?product=[% caserun.run.plan.product.name FILTER url_quote %]&caserun_id=[% caserun.id FILTER none %]" target="_blank"><img src="testopia/img/snew.gif" alt="Log a New Bug" title="Log a New Bug" style="vertical-align:text-bottom;" /></a>
|
||||
<br><input type="checkbox" value="1" name="update_bug" id="update_bug">Update [% terms.bug %] status </td>
|
||||
<br><input type="checkbox" style="border: none" value="1" name="update_bug" id="update_bug">Update [% terms.bug %] status </td>
|
||||
</tr>
|
||||
</table>
|
||||
<table>
|
||||
@ -112,14 +112,14 @@
|
||||
[% FOREACH status = caserun.get_status_list %]
|
||||
<tr>
|
||||
<td><label for="[% status.name FILTER none %]"><img src="testopia/img/[% status.name FILTER none %].gif" alt="[% status.name FILTER none %]"></label></td>
|
||||
<td align="right"><input type="radio" name="status" id="[% status.name FILTER none %]" value="[% status.id FILTER none %]" [% 'checked="checked"' IF caserun.status == status.name AND NOT dotweak %]></td>
|
||||
<td align="right"><input type="radio" style="border: none" name="status" id="[% status.name FILTER none %]" value="[% status.id FILTER none %]" [% 'checked="checked"' IF caserun.status == status.name AND NOT dotweak %]></td>
|
||||
<th align="left"><label for="[% status.name FILTER none %]">[% status.name FILTER html %]</label></th>
|
||||
</tr>
|
||||
[% END %]
|
||||
[% IF dotweak %]
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td align="right"><input type="radio" name="status" value="-1" [% 'checked="checked"' IF dotweak %]></td>
|
||||
<td align="right"><input type="radio" style="border: none" name="status" value="-1" [% 'checked="checked"' IF dotweak %]></td>
|
||||
<th align="left"><label for="[% status.name FILTER none %]">No Change</label></th>
|
||||
</tr>
|
||||
[% END %]
|
||||
|
||||
@ -112,7 +112,7 @@
|
||||
[%##### Bugs #####%]
|
||||
<div class="cc_xx">
|
||||
<div style="float:left;">
|
||||
Update [% terms.bug %] status <input type="checkbox" value="1" name="up_bugs[% index %]" id="up_bugs[% index %]">
|
||||
Update [% terms.bug %] status <input type="checkbox" style="border: none" value="1" name="up_bugs[% index %]" id="up_bugs[% index %]">
|
||||
<div style="float:left;font-weight:bold;">[% terms.Bugs %] detected (all runs):</div>
|
||||
<div class="cc_i">
|
||||
[<span id="bgl[% index %]">
|
||||
|
||||
@ -83,7 +83,7 @@ values for each of the properties.
|
||||
[% END %]
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Archive</th><td><input type="checkbox" name="isactive" id="isactive" value="1" [% 'checked="checked"' IF NOT environment.isactive %]></td>
|
||||
<th>Archive</th><td><input type="checkbox" style="border: none" name="isactive" id="isactive" value="1" [% 'checked="checked"' IF NOT environment.isactive %]></td>
|
||||
[% IF environment.candelete %]
|
||||
<td><a href="tr_show_environment.cgi?env_id=[% environment.id FILTER none %]&action=delete">Delete this Environment</a></td>
|
||||
[% END %]
|
||||
|
||||
@ -92,40 +92,40 @@
|
||||
|
||||
<tr>
|
||||
<td valign="TOP" align="RIGHT">Copy plan attachments:</td>
|
||||
<td><input type="radio" name="copy_attachments" value="1" />Yes <input
|
||||
type="radio" name="copy_attachments" value="0" checked="checked" />No</td>
|
||||
<td><input type="radio" style="border: none" name="copy_attachments" value="1" />Yes <input
|
||||
type="radio" style="border: none" name="copy_attachments" value="0" checked="checked" />No</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="TOP" align="RIGHT">Copy plan document:</td>
|
||||
<td><input type="radio" name="copy_doc" value="1" checked />Yes <input
|
||||
type="radio" name="copy_doc" value="0" />No</td>
|
||||
<td><input type="radio" style="border: none" name="copy_doc" value="1" checked />Yes <input
|
||||
type="radio" style="border: none" name="copy_doc" value="0" />No</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="TOP" align="RIGHT">Copy tags:</td>
|
||||
<td><input type="radio" name="copy_tags" value="1" checked />Yes <input
|
||||
type="radio" name="copy_tags" value="0" />No</td>
|
||||
<td><input type="radio" style="border: none" name="copy_tags" value="1" checked />Yes <input
|
||||
type="radio" style="border: none" name="copy_tags" value="0" />No</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="TOP" align="RIGHT">Copy permissions:</td>
|
||||
<td><input type="radio" name="copy_perms" value="1" checked />Yes <input
|
||||
type="radio" name="copy_perms" value="0" />No</td>
|
||||
<td><input type="radio" style="border: none" name="copy_perms" value="1" checked />Yes <input
|
||||
type="radio" style="border: none" name="copy_perms" value="0" />No</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="TOP" align="RIGHT">Maintain Plan and Case Authors:</td>
|
||||
<td><input type="radio" name="keepauthor" value="1" checked />Yes <input
|
||||
type="radio" name="keepauthor" value="0" />No, make me the author of the new cases.</td>
|
||||
<td><input type="radio" style="border: none" name="keepauthor" value="1" checked />Yes <input
|
||||
type="radio" style="border: none" name="keepauthor" value="0" />No, make me the author of the new cases.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="TOP" align="RIGHT">Copy/Link test cases:</td>
|
||||
<td>
|
||||
<input type="radio" name="copy_cases" value="2" checked />Copy
|
||||
<input type="radio" name="copy_cases" value="1" />Link
|
||||
<input type="radio" name="copy_cases" value="0" />No</td>
|
||||
<input type="radio" style="border: none" name="copy_cases" value="2" checked />Copy
|
||||
<input type="radio" style="border: none" name="copy_cases" value="1" />Link
|
||||
<input type="radio" style="border: none" name="copy_cases" value="0" />No</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
@ -98,7 +98,7 @@ found.
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right"><b>Archive/Unarchive</b></td>
|
||||
<td><input name="togglearch" type="checkbox" value="1" /></td>
|
||||
<td><input name="togglearch" type="checkbox" style="border: none" value="1" /></td>
|
||||
<td align="right">
|
||||
<select name="tag_action">
|
||||
<option value="add">Add</option>
|
||||
|
||||
@ -48,7 +48,7 @@ Select:
|
||||
[% FOREACH plan = table.list %]
|
||||
|
||||
<tr class="[% loop.count % 2 == 1 ? "bz_row_odd" : "bz_row_even" %]">
|
||||
[% IF dotweak %]<td align="center"><input type="checkbox" id="p_[% plan.id FILTER none %]" name="p_[% plan.id FILTER none %]"</td> [% END %]
|
||||
[% IF dotweak %]<td align="center"><input type="checkbox" style="border: none" id="p_[% plan.id FILTER none %]" name="p_[% plan.id FILTER none %]"</td> [% END %]
|
||||
|
||||
<td><a href="tr_show_plan.cgi?plan_id=[% plan.plan_id FILTER none %]">[% plan.id FILTER html %]</a></td>
|
||||
<td><a href="tr_show_plan.cgi?plan_id=[% plan.plan_id FILTER none %]">[% plan.name FILTER html %]</a></td>
|
||||
|
||||
@ -88,20 +88,20 @@
|
||||
|
||||
<tr>
|
||||
<td valign="TOP" align="RIGHT">Maintain Run Manager:</td>
|
||||
<td><input type="radio" name="keepauthor" value="1" checked />Yes <input
|
||||
type="radio" name="keepauthor" value="0" />No, make me the manager of the new run.</td>
|
||||
<td><input type="radio" style="border: none" name="keepauthor" value="1" checked />Yes <input
|
||||
type="radio" style="border: none" name="keepauthor" value="0" />No, make me the manager of the new run.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="TOP" align="RIGHT">Copy tags:</td>
|
||||
<td><input type="radio" name="copy_tags" value="1" checked />Yes <input
|
||||
type="radio" name="copy_tags" value="0" />No</td>
|
||||
<td><input type="radio" style="border: none" name="copy_tags" value="1" checked />Yes <input
|
||||
type="radio" style="border: none" name="copy_tags" value="0" />No</td>
|
||||
</tr>
|
||||
[% IF NOT case_list %]
|
||||
<tr>
|
||||
<td valign="TOP" align="RIGHT">Copy test cases:</td>
|
||||
<td><input type="radio" name="copy_test_cases" value="1" checked />Yes
|
||||
<input type="radio" name="copy_test_cases" value="0" />No</td>
|
||||
<td><input type="radio" style="border: none" name="copy_test_cases" value="1" checked />Yes
|
||||
<input type="radio" style="border: none" name="copy_test_cases" value="0" />No</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
@ -80,7 +80,7 @@
|
||||
style="color:grey;"
|
||||
[% END %]
|
||||
>
|
||||
<td align="right"><input type="CHECKBOX" name="b[% bug.bug_id FILTER none %]"
|
||||
<td align="right"><input type="checkbox" style="border: none" name="b[% bug.bug_id FILTER none %]"
|
||||
[% IF bug.enabled %]
|
||||
checked="TRUE" onclick="ck(this.checked);"
|
||||
[% ELSE %]
|
||||
|
||||
@ -51,7 +51,7 @@ Select:
|
||||
[% FOREACH run = table.list %]
|
||||
|
||||
<TR class="[% loop.count % 2 == 1 ? "bz_row_even" : "bz_row_odd" %]">
|
||||
[% IF dotweak %]<td align="center"><input type="checkbox" id="r_[% run.id FILTER none %]" name="r_[% run.id FILTER none %]" /></td> [% END %]
|
||||
[% IF dotweak %]<td align="center"><input type="checkbox" style="border: none" id="r_[% run.id FILTER none %]" name="r_[% run.id FILTER none %]" /></td> [% END %]
|
||||
<td align="left"><a href="tr_show_run.cgi?run_id=[% run.id FILTER none %]">[% run.id FILTER html %]</a></td>
|
||||
<td align="left">[% run.summary FILTER html %]</td>
|
||||
<td align="left">[% run.build.name FILTER html %]</td>
|
||||
|
||||
@ -100,15 +100,15 @@
|
||||
<legend><strong>Roles</strong></legend>
|
||||
<table>
|
||||
<tr>
|
||||
<th align="right">Author:</tH>
|
||||
<th align="right">Author:</th>
|
||||
<td>
|
||||
[% PROCESS select sel = { name => 'author_type',
|
||||
list => email_variants } %]</td>
|
||||
<td><input name="author"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan=2"><input type="radio" name="andor" value="1"/>AND
|
||||
<input type="radio" name="andor" value="0" checked="checked"/>OR</th>
|
||||
<th colspan=2"><input type="radio" style="border: none" name="andor" value="1"/>AND
|
||||
<input type="radio" style="border: none" name="andor" value="0" checked="checked"/>OR</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th align="right">Default Tester:</th>
|
||||
@ -123,42 +123,42 @@
|
||||
<legend><strong>Attributes</strong></legend>
|
||||
<table>
|
||||
<tr>
|
||||
<th align="right">Summary:</tH>
|
||||
<th align="right">Summary:</th>
|
||||
<td>
|
||||
[% PROCESS select sel = { name => 'summary_type',
|
||||
list => query_variants } %]</td>
|
||||
<td><input name="summary"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th align="right">Action:</tH>
|
||||
<th align="right">Action:</th>
|
||||
<td>
|
||||
[% PROCESS select sel = { name => 'tcaction_type',
|
||||
list => query_variants } %]</td>
|
||||
<td><input name="tcaction"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th align="right">Expected Results:</tH>
|
||||
<th align="right">Expected Results:</th>
|
||||
<td>
|
||||
[% PROCESS select sel = { name => 'tceffect_type',
|
||||
list => query_variants } %]</td>
|
||||
<td><input name="tceffect"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th align="right">Script:</tH>
|
||||
<th align="right">Script:</th>
|
||||
<td>
|
||||
[% PROCESS select sel = { name => 'script_type',
|
||||
list => query_variants } %]</td>
|
||||
<td><input name="script"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th align="right">Requirement:</tH>
|
||||
<th align="right">Requirement:</th>
|
||||
<td>
|
||||
[% PROCESS select sel = { name => 'requirement_type',
|
||||
list => query_variants } %]</td>
|
||||
<td><input name="requirement"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th align="right">Tags:</tH>
|
||||
<th align="right">Tags:</th>
|
||||
<td>
|
||||
[% PROCESS select sel = { name => 'tags_type',
|
||||
list => tag_variants } %]</td>
|
||||
|
||||
@ -157,8 +157,8 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2"><input type="radio" name="andor" value="1"/>AND
|
||||
<input type="radio" name="andor" value="0" checked="checked"/>OR</th>
|
||||
<th colspan="2"><input type="radio" style="border: none" name="andor" value="1"/>AND
|
||||
<input type="radio" style="border: none" name="andor" value="0" checked="checked"/>OR</th>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -132,7 +132,7 @@
|
||||
<label for="archived">
|
||||
Include Archived Plans:
|
||||
</label>
|
||||
<input type="checkbox" name="isactive" id="isactive" value="1" />
|
||||
<input type="checkbox" style="border: none" name="isactive" id="isactive" value="1" />
|
||||
</p>
|
||||
|
||||
<input type="submit" value="Submit" id="search_submit">
|
||||
|
||||
@ -149,7 +149,7 @@ if ($action eq 'Commit'){
|
||||
$vars->{'run'} = $run;
|
||||
$vars->{'title'} = $i ? "Update Successful" : "Nothing Updated";
|
||||
$vars->{'tr_error'} = "You did not have rights to edit ". scalar @uneditable . "runs" if scalar @uneditable > 0;
|
||||
$vars->{'tr_message'} = "$updated Test Runs Updated";
|
||||
$vars->{'tr_message'} = "$updated Test Runs Updated" if $updated;
|
||||
$vars->{'current_tab'} = 'run';
|
||||
$vars->{'build_list'} = $run->get_distinct_builds();
|
||||
$template->process("testopia/search/advanced.html.tmpl", $vars)
|
||||
|
||||
@ -156,6 +156,7 @@ elsif ($action eq 'do_clone'){
|
||||
my $plan = Bugzilla::Testopia::TestPlan->new($p);
|
||||
unless ($plan->canedit){
|
||||
$vars->{'tr_error'} = "Could not link to at least one plan";
|
||||
$count--;
|
||||
next;
|
||||
}
|
||||
$case->link_plan($p);
|
||||
@ -168,7 +169,7 @@ elsif ($action eq 'do_clone'){
|
||||
ThrowUserError('testopia-missing-parameter', {'param' => 'copymethod'});
|
||||
}
|
||||
|
||||
$vars->{'tr_message'} = "Case $method to $count plans.";
|
||||
$vars->{'tr_message'} = "Case $method to $count plans." if $count;
|
||||
display($case);
|
||||
}
|
||||
|
||||
|
||||
@ -395,8 +395,8 @@ sub get_cc_xml {
|
||||
my $ret = "<cclist>";
|
||||
foreach my $c (@{$run->cc}){
|
||||
$ret .= "<user>";
|
||||
$ret .= "<id>". $c->{'id'} ."</id>";
|
||||
$ret .= "<name>". $c->{'login'} ."</name>";
|
||||
$ret .= "<id>". $c->id ."</id>";
|
||||
$ret .= "<name>". $c->login ."</name>";
|
||||
$ret .= "</user>";
|
||||
}
|
||||
$ret .= "</cclist>";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user