* Finish task #70008.
This commit is contained in:
@@ -1602,7 +1602,10 @@ class testtaskModel extends model
|
||||
if($run->story and $run->storyTitle) echo html::a(helper::createLink('story', 'view', "storyID=$run->story"), $run->storyTitle);
|
||||
break;
|
||||
case 'assignedTo':
|
||||
echo zget($users, $run->assignedTo);
|
||||
$btnTextClass = '';
|
||||
if($run->assignedTo == $this->app->user->account) $btnTextClass = 'assigned-current';
|
||||
if(!empty($run->assignedTo) and $run->assignedTo != $this->app->user->account) $btnTextClass = 'assigned-other';
|
||||
echo "<span class='$btnTextClass'>" . zget($users, $run->assignedTo) . '</span>';
|
||||
break;
|
||||
case 'bugs':
|
||||
echo (common::hasPriv('testcase', 'bugs') and $run->bugs) ? html::a(helper::createLink('testcase', 'bugs', "runID={$run->id}&caseID={$run->case}"), $run->bugs, '', "class='iframe'") : $run->bugs;
|
||||
|
||||
Reference in New Issue
Block a user