* Remove $mode == 'table'.

This commit is contained in:
liugang
2018-05-18 14:27:01 +08:00
parent a88c09646b
commit a51a4c48f1
6 changed files with 16 additions and 12 deletions
+7 -7
View File
@@ -1156,14 +1156,14 @@ class testtaskModel extends model
switch ($id)
{
case 'id':
if($mode == 'table')
{
//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);
}
//}
//else
//{
// echo $canView ? html::a($caseLink, sprintf('%03d', $run->case)) : sprintf('%03d', $run->case);
//}
break;
case 'pri':
echo "<span class='label-pri label-pri-" . $run->pri . "'>";