* Adjust the icon of testtask module.
This commit is contained in:
@@ -45,8 +45,8 @@
|
||||
<?php
|
||||
common::printLink('testtask', 'cases', "taskID=$task->id", $lang->testtask->cases);
|
||||
common::printLink('testtask', 'linkcase', "taskID=$task->id", $lang->testtask->linkCaseAB);
|
||||
common::printLink('testtask', 'edit', "taskID=$task->id", ' ', '', "class='icon-green-small-edit' title={$lang->edit}", false);
|
||||
common::printLink('testtask', 'delete', "taskID=$task->id", ' ', 'hiddenwin', "class='icon-green-small-delete' title='{$lang->delete}'", false);
|
||||
common::printIcon('testtask', 'edit', "taskID=$task->id", '', 'small');
|
||||
common::printIcon('testtask', 'delete', "taskID=$task->id", '', 'small', '', 'hiddenwin');
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -77,17 +77,7 @@ var moduleID = '<?php echo $moduleID;?>';
|
||||
common::printLink('testtask', 'runcase', "id=$run->id", $lang->testtask->runCase, '', 'class="iframe"');
|
||||
common::printLink('testtask', 'results', "id=$run->id", $lang->testtask->results, '', 'class="iframe"');
|
||||
common::printLink('testtask', 'unlinkcase', "id=$run->id", $lang->testtask->unlinkCase, 'hiddenwin');
|
||||
if(common::hasPriv('bug', 'create'))
|
||||
{
|
||||
if($run->lastRunResult == 'fail')
|
||||
{
|
||||
echo html::a($this->createLink('bug', 'create', "product=$productID&extra=projectID=$task->project,buildID=$task->build,caseID=$run->case,runID=$run->id"), ' ', '', "class='icon-green-small-case-createBug' title='{$lang->testtask->createBug}'", false);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<span class='icon-gray-small-case-createBug' title='{$lang->testtask->createBug}'> </span>";
|
||||
}
|
||||
}
|
||||
common::printIcon('testcase', 'toBug', "product=$productID&extra=projectID=$task->project,buildID=$task->build,caseID=$run->case,runID=$run->id", $run, 'small', 'createBug');
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -54,19 +54,10 @@
|
||||
{
|
||||
common::printLink('testtask', 'cases', "taskID=$task->id", $lang->testtask->cases);
|
||||
common::printLink('testtask', 'linkcase', "taskID=$task->id", $lang->testtask->linkCaseAB);
|
||||
if(common::hasPriv('testtask', 'cases') or common::hasPriv('testtask', 'linkcase'))
|
||||
{
|
||||
echo "<span class='icon-green-big-splitLine'> </span>";
|
||||
}
|
||||
|
||||
common::printLink('testtask', 'edit', "taskID=$task->id", ' ', '', "class='icon-green-big-edit' title='{$lang->edit}'");
|
||||
common::printLink('testtask', 'delete', "taskID=$task->id", ' ', 'hiddenwin', "class='icon-green-big-delete' title='{$lang->delete}'", false);
|
||||
if(common::hasPriv('testtask', 'edit') or common::hasPriv('testtask', 'delete'))
|
||||
{
|
||||
echo "<span class='icon-green-big-splitLine'> </span>";
|
||||
}
|
||||
common::printIcon('testtask', 'edit', "taskID=$task->id", '', 'big');
|
||||
common::printIcon('testtask', 'delete', "taskID=$task->id", '', 'big', '', 'hiddenwin');
|
||||
echo common::printRPN($browseLink);
|
||||
}
|
||||
echo html::a($browseLink, ' ', '', "class='icon-green-big-goback' title='{$lang->goback}'");
|
||||
?>
|
||||
</div>
|
||||
<?php include '../../common/view/action.html.php';?>
|
||||
|
||||
Reference in New Issue
Block a user