* add report of testtask.
This commit is contained in:
@@ -7,4 +7,5 @@ $config->testtask->edit->requiredFields = 'project,build,begin,end,name';
|
||||
|
||||
$config->testtask->editor = new stdclass();
|
||||
$config->testtask->editor->create = array('id' => 'desc', 'tools' => 'simpleTools');
|
||||
$config->testtask->editor->edit = array('id' => 'desc', 'tools' => 'simpleTools');
|
||||
$config->testtask->editor->edit = array('id' => 'desc,report', 'tools' => 'simpleTools');
|
||||
$config->testtask->editor->close = array('id' => 'report', 'tools' => 'simpleTools');
|
||||
|
||||
@@ -45,7 +45,7 @@ $lang->testtask->linkVersion = '版本';
|
||||
$lang->testtask->lastRunAccount = '执行人';
|
||||
$lang->testtask->lastRunTime = '执行时间';
|
||||
$lang->testtask->lastRunResult = '结果';
|
||||
$lang->testtask->report = '测试报告';
|
||||
$lang->testtask->report = '测试总结';
|
||||
|
||||
$lang->testtask->statusList['wait'] = '未开始';
|
||||
$lang->testtask->statusList['doing'] = '进行中';
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
?>
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php include '../../common/view/datepicker.html.php';?>
|
||||
<?php include '../../common/view/kindeditor.html.php';?>
|
||||
<form method='post' target='hiddenwin'>
|
||||
<table class='table-1'>
|
||||
<caption><?php echo $testtask->name;?></caption>
|
||||
|
||||
@@ -52,6 +52,10 @@
|
||||
<th class='rowhead'><?php echo $lang->testtask->desc;?></th>
|
||||
<td><?php echo html::textarea('desc', htmlspecialchars($task->desc), "rows=10 class='area-1'");?>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><?php echo $lang->testtask->report;?></th>
|
||||
<td><?php echo html::textarea('report', htmlspecialchars($task->report), "rows=10 class='area-1'");?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::resetButton();?> </td>
|
||||
</tr>
|
||||
|
||||
@@ -50,6 +50,10 @@
|
||||
<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
|
||||
|
||||
Reference in New Issue
Block a user