* code for task#1657.

This commit is contained in:
xia0ta0
2013-07-30 16:33:27 +08:00
parent 5e00f938e6
commit c8e274ce03
3 changed files with 16 additions and 3 deletions
+7
View File
@@ -1,3 +1,10 @@
/**
* Delete build.
*
* @param int buildID
* @access public
* @return void
*/
function deleteBuild(buildID)
{
if(confirm(confirmDelete))
+1 -1
View File
@@ -13,7 +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', $project->id)?>
<?php js::set('projectID', $projectID)?>
<table class='table-1 tablesorter fixed' id='buildlist'>
<caption class='caption-tl pb-10px'>
<div class='f-left'><?php echo $lang->project->build;?></div>
+8 -2
View File
@@ -12,7 +12,9 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/tablesorter.html.php';?>
<table align='center' class='table-5 tablesorter'>
<?php js::set('confirmUnlinkMember', $lang->project->confirmUnlinkMember)?>
<?php js::set('projectID', $project->id)?>
<table align='center' class='table-5 tablesorter' id='memberlist'>
<thead>
<tr class='colhead'>
<th><?php echo $lang->team->account;?></th>
@@ -40,7 +42,11 @@
<td><?php echo $member->days;?></td>
<td><?php echo $member->hours;?></td>
<td><?php echo $memberHours;?></td>
<td><?php common::printIcon('project', 'unlinkMember', "projectID=$project->id&account=$member->account", '', 'list', '', 'hiddenwin');?></td>
<td>
<?php
echo html::a("javascript:unlinkMember($project->id, \"$member->account\")", '&nbsp;', '', "class='icon-green-project-unlinkMember' title='{$lang->project->unlinkMember}'");
?>
</td>
</tr>
<?php endforeach;?>
</tbody>