* code for task#1657.

This commit is contained in:
xia0ta0
2013-07-31 17:28:03 +08:00
parent 3053c2d248
commit f37afec4bb
4 changed files with 6 additions and 63 deletions
+3 -3
View File
@@ -13,8 +13,7 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/tablesorter.html.php';?>
<?php js::set('confirmDelete', $lang->build->confirmDelete)?>
<?php js::set('projectID', $projectID)?>
<table class='table-1 tablesorter fixed' id='buildlist'>
<table class='table-1 tablesorter fixed' id='buildList'>
<caption class='caption-tl pb-10px'>
<div class='f-left'><?php echo $lang->project->build;?></div>
<div class='f-right'><?php common::printIcon('build', 'create', "project=$project->id");?></div>
@@ -47,7 +46,8 @@
$lang->project->bug = $lang->project->viewBug;
common::printIcon('project', 'bug', "project=$project->id&orderBy=status&build=$build->id", '', 'list');
common::printIcon('build', 'edit', "buildID=$build->id");
echo html::a("javascript:deleteBuild($build->id)", '&nbsp;', '', "class='icon-green-common-delete' title='{$lang->build->delete}'");
$deleteURL = $this->createLink('build', 'delete', "buildID=$build->id&confirm=yes");
echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"buildList\",confirmDelete)", '&nbsp;', '', "class='icon-green-common-delete' title='{$lang->build->delete}'");
?>
</td>
</tr>