* Modify the problem of the project module return link.
This commit is contained in:
@@ -327,7 +327,8 @@ js::set('moduleID', $moduleID);
|
||||
<td colspan="3" class="text-center form-actions">
|
||||
<?php $browseLink = $this->session->bugList ? $this->session->bugList : $this->inlink('browse', "productID=$productID");?>
|
||||
<?php echo html::submitButton();?>
|
||||
<?php echo html::linkButton($lang->goback, $browseLink, 'self', '', 'btn btn-wide');?>
|
||||
<?php if($caseID) echo html::linkButton($lang->goback, $browseLink, 'self', '', 'btn btn-wide');?>
|
||||
<?php if(!$caseID) echo html::backButton();?>
|
||||
<?php echo html::hidden('case', (int)$caseID) . html::hidden('caseVersion', (int)$version);?>
|
||||
<?php echo html::hidden('result', (int)$runID) . html::hidden('testtask', empty($testtask) ? 0 : $testtask->id);?>
|
||||
</td>
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
common::printIcon('bug', 'edit', $params, $bug);
|
||||
if($this->app->openApp != 'product')
|
||||
{
|
||||
common::printIcon('bug', 'create', $copyParams, $bug, 'button', 'copy', '', '', false, "data-app='qa'");
|
||||
common::printIcon('bug', 'create', $copyParams, $bug, 'button', 'copy');
|
||||
}
|
||||
common::printIcon('bug', 'delete', $params, $bug, 'button', 'trash', 'hiddenwin');
|
||||
?>
|
||||
|
||||
@@ -169,8 +169,7 @@
|
||||
<?php
|
||||
echo html::hidden('model', $project->model);
|
||||
echo html::submitButton();
|
||||
$browseLink = $this->session->projectList ? $this->session->projectList : $this->createLink('project', 'browse');
|
||||
if(!isonlybody()) echo html::a($browseLink, $lang->goback, '', 'class="btn btn-back btn-wide"');
|
||||
if(!isonlybody()) echo html::backButton();
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user