mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
We need to be able to remove test cases from a test plan
This commit is contained in:
parent
98549a3d95
commit
f0e551bb13
@ -82,7 +82,7 @@ Select:
|
||||
<td align="left" valign="top"><span id="sta[% case.status %]">[% case.status %]</span></td>
|
||||
</tr>
|
||||
|
||||
<tr class="[% rowclass %]_first">
|
||||
<tr class="[% loop.count % 2 == 0 ? "bz_row_odd" : "bz_row_even" %]">
|
||||
<td></td>
|
||||
<td colspan="10" style="margin:0px;padding:0px;">
|
||||
<div id="ra[% loop.count %]" class="ae_dv" style=
|
||||
@ -110,6 +110,14 @@ Select:
|
||||
<a href="tr_show_plan.cgi?plan_id=[% p.id FILTER none %]">[% p.id FILTER none %]</a>
|
||||
[% END %]
|
||||
</div>
|
||||
<div style="float:right;">
|
||||
[% IF case.can_unlink_plan(p.id) %]
|
||||
<a href="tr_show_case.cgi?action=unlink&plan_id=[% p.id FILTER none %]&case_id=[% case.id FILTER none %]">Unlink</a>
|
||||
[% END %]
|
||||
[% IF plan.candelete %]
|
||||
<a href="tr_show_case.cgi?case_id=[% case.id FILTER none %]&action=Delete">Delete</a>
|
||||
[% END %]
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
@ -43,7 +43,7 @@
|
||||
[% PROCESS testopia/style.none.tmpl %]
|
||||
|
||||
[% PROCESS testopia/messages.html.tmpl %]
|
||||
[% IF plan.canedit %]
|
||||
|
||||
<script type="text/javascript">
|
||||
djConfig = {
|
||||
parseWidgets: false,
|
||||
@ -55,7 +55,7 @@
|
||||
<script src="testopia/dojo/dojo.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
dojo.require("dojo.widget.Tooltip");
|
||||
[% IF plan.candelete %]
|
||||
|
||||
|
||||
function fillSelects (data, item){
|
||||
var xmldocroot = data.documentElement;
|
||||
@ -98,7 +98,7 @@
|
||||
mimetype: "text/xml"
|
||||
});
|
||||
}
|
||||
[% END %]
|
||||
|
||||
function updateCaseList(order, direction){
|
||||
dojo.io.bind({
|
||||
url: 'tr_show_plan.cgi',
|
||||
@ -120,7 +120,7 @@
|
||||
</script>
|
||||
|
||||
|
||||
[% END %]
|
||||
|
||||
|
||||
[% PROCESS testopia/plan/navigate.html.tmpl %]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user