* finish task#1594.
This commit is contained in:
@@ -11,66 +11,88 @@
|
||||
*/
|
||||
?>
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php include '../../common/view/tablesorter.html.php';?>
|
||||
<table class='table-1'>
|
||||
<caption <?php if($task->deleted) echo "class='deleted'";?>>TASK #<?php echo $task->id . ' ' . $task->name;?></caption>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->name;?></th>
|
||||
<td><?php echo $task->name;?>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->project;?></th>
|
||||
<td><?php echo $task->projectName;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->build;?></th>
|
||||
<td><?php $task->buildName ? print($task->buildName) : print($task->build);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->owner;?></th>
|
||||
<td><?php echo $users[$task->owner];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->pri;?></th>
|
||||
<td><?php echo $task->pri;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->begin;?></th>
|
||||
<td><?php echo $task->begin;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->end;?></th>
|
||||
<td><?php echo $task->end;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->status;?></th>
|
||||
<td><?php echo $lang->testtask->statusList[$task->status];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->desc;?></th>
|
||||
<td class='content'><?php echo $task->desc;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->report;?></th>
|
||||
<td class='content'><?php echo $task->report;?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='a-center f-16px strong'>
|
||||
<?php
|
||||
$browseLink = $this->session->testtaskList ? $this->session->testtaskList : $this->createLink('testtask', 'browse', "productID=$task->product");
|
||||
if(!$task->deleted)
|
||||
{
|
||||
common::printIcon('testtask', 'start', "taskID=$task->id", $task);
|
||||
common::printIcon('testtask', 'close', "taskID=$task->id", $task);
|
||||
common::printIcon('testtask', 'cases', "taskID=$task->id", $task);
|
||||
common::printIcon('testtask', 'linkCase', "taskID=$task->id", $task);
|
||||
<div id='titlebar'>
|
||||
<div id='main' <?php if($task->deleted) echo "class='deleted'";?>>TASK #<?php echo $task->id . ' ' . $task->title;?></div>
|
||||
<div>
|
||||
<?php
|
||||
$browseLink = $this->session->testtaskList ? $this->session->testtaskList : $this->createLink('testtask', 'browse', "productID=$task->product");
|
||||
$actionLinks = '';
|
||||
if(!$task->deleted)
|
||||
{
|
||||
ob_start();
|
||||
|
||||
common::printDivider();
|
||||
common::printIcon('testtask', 'edit', "taskID=$task->id");
|
||||
common::printIcon('testtask', 'delete', "taskID=$task->id", '', 'button', '', 'hiddenwin');
|
||||
}
|
||||
common::printRPN($browseLink);
|
||||
?>
|
||||
common::printIcon('testtask', 'start', "taskID=$task->id", $task);
|
||||
common::printIcon('testtask', 'close', "taskID=$task->id", $task);
|
||||
common::printIcon('testtask', 'cases', "taskID=$task->id", $task);
|
||||
common::printIcon('testtask', 'linkCase', "taskID=$task->id", $task);
|
||||
|
||||
common::printDivider();
|
||||
common::printIcon('testtask', 'edit', "taskID=$task->id");
|
||||
common::printIcon('testtask', 'delete', "taskID=$task->id", '', 'button', '', 'hiddenwin');
|
||||
|
||||
$actionLinks = ob_get_contents();
|
||||
ob_clean();
|
||||
echo $actionLinks;
|
||||
}
|
||||
common::printRPN($browseLink);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php include '../../common/view/action.html.php';?>
|
||||
|
||||
<table class='cont-rt5'>
|
||||
<tr valign='top'>
|
||||
<td>
|
||||
<fieldset>
|
||||
<legend><?php echo $lang->testtask->legendDesc;?></legend>
|
||||
<div class='content'><?php echo $task->desc;?></div>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend><?php echo $lang->testtask->legendReport;?></legend>
|
||||
<div class='content'><?php echo $task->report;?></div>
|
||||
</fieldset>
|
||||
<?php include '../../common/view/action.html.php';?>
|
||||
<div class='a-center actionlink'><?php echo $actionLinks;?></div>
|
||||
</td>
|
||||
<td class='divider'></td>
|
||||
<td class='side'>
|
||||
<fieldset>
|
||||
<legend><?php echo $lang->testtask->legendBasicInfo;?></legend>
|
||||
<table class='table-1 a-left fixed'>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->project;?></th>
|
||||
<td><?php echo $task->projectName;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->build;?></th>
|
||||
<td><?php $task->buildName ? print($task->buildName) : print($task->build);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->owner;?></th>
|
||||
<td><?php echo $users[$task->owner];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->pri;?></th>
|
||||
<td><?php echo $task->pri;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->begin;?></th>
|
||||
<td><?php echo $task->begin;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->end;?></th>
|
||||
<td><?php echo $task->end;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->status;?></th>
|
||||
<td><?php echo $lang->testtask->statusList[$task->status];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->report;?></th>
|
||||
<td class='content'><?php echo $task->report;?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php include '../../common/view/footer.html.php';?>
|
||||
|
||||
Reference in New Issue
Block a user