* finish task #4948.

This commit is contained in:
wangyidong
2018-09-27 10:52:54 +08:00
parent f8f85fd857
commit 25c19f97b3
13 changed files with 22 additions and 33 deletions
+2 -9
View File
@@ -1170,7 +1170,7 @@ class testtaskModel extends model
$id = $col->id;
if($col->show)
{
$class = '';
$class = "c-$id ";
if($id == 'status') $class .= $run->status;
if($id == 'title') $class .= ' text-left';
if($id == 'id') $class .= ' cell-id';
@@ -1182,14 +1182,7 @@ class testtaskModel extends model
switch ($id)
{
case 'id':
//if($mode == 'table')
//{
echo html::checkbox('caseIDList', array($run->case => sprintf('%03d', $run->case)));
//}
//else
//{
// echo $canView ? html::a($caseLink, sprintf('%03d', $run->case)) : sprintf('%03d', $run->case);
//}
echo html::checkbox('caseIDList', array($run->case => sprintf('%03d', $run->case)));
break;
case 'pri':
echo "<span class='label-pri label-pri-" . $run->pri . "' title='" . zget($this->lang->testcase->priList, $run->pri, $run->pri) . "'>";