* Adjust the icons.
This commit is contained in:
@@ -268,7 +268,7 @@ class common extends control
|
||||
}
|
||||
|
||||
/* Set module and method, then create link to it. */
|
||||
if(strtolower($module) == 'testcase' and strtolower($method) == 'createbug') ($module = 'bug') and ($method = 'create');
|
||||
if(strtolower($module) == 'testcase' and strtolower($method) == 'createbug') ($module = 'bug') and ($method = 'create');
|
||||
if(strtolower($module) == 'story' and strtolower($method) == 'createcase') ($module = 'testcase') and ($method = 'create');
|
||||
if(strtolower($module) == 'bug' and strtolower($method) == 'tostory') ($module = 'story') and ($method = 'create');
|
||||
if(strtolower($module) == 'bug' and strtolower($method) == 'createcase') ($module = 'testcase') and ($method = 'create');
|
||||
|
||||
@@ -311,7 +311,7 @@ class testcaseModel extends model
|
||||
{
|
||||
$action = strtolower($action);
|
||||
|
||||
if($action == 'tobug') return $case->lastRunResult == 'fail';
|
||||
if($action == 'createbug') return $case->lastRunResult == 'fail';
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -27,9 +27,10 @@ var moduleID = '<?php echo $moduleID;?>';
|
||||
</div>
|
||||
<div class='f-right'>
|
||||
<?php
|
||||
common::printLink('testtask', 'linkcase', "taskID=$task->id", $lang->testtask->linkCase);
|
||||
common::printIcon('testcase', 'export', "productID=$productID&orderBy=$orderBy&taskID=$task->id", '', 'big');
|
||||
common::printRPN($this->session->testtaskLisk, '');
|
||||
common::printIcon('testtask', 'linkCase', "taskID=$task->id");
|
||||
common::printIcon('testcase', 'export', "productID=$productID&orderBy=$orderBy&taskID=$task->id");
|
||||
common::printDivider();
|
||||
common::printRPN($this->session->testtaskList, '');
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
@@ -77,7 +78,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');
|
||||
common::printIcon('testcase', 'toBug', "product=$productID&extra=projectID=$task->project,buildID=$task->build,caseID=$run->case,runID=$run->id", $run, 'small', 'createBug');
|
||||
common::printIcon('testcase', 'createBug', "product=$productID&extra=projectID=$task->project,buildID=$task->build,caseID=$run->case,runID=$run->id", $run, 'list', 'createBug');
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -421,6 +421,7 @@ table.tablesorter thead tr .headerSortDown {background-image: url(./images/table
|
||||
.icon-arrow { padding-left:10px; background:url(images/main/ui-gray.png) -32px 0px;}
|
||||
|
||||
/* Common icons. */
|
||||
#featurebar .f-right .icon-goback {padding:0px 10px}
|
||||
.pri1 {padding:2px 8px; background:url(images/main/zt-green.png) 0px -141px;}
|
||||
.pri2 {padding:2px 8px; background:url(images/main/zt-green.png) -20px -141px;}
|
||||
.pri3 {padding:2px 8px; background:url(images/main/zt-green.png) -40px -141px;}
|
||||
|
||||
Reference in New Issue
Block a user