* Modify the problem of the project module return link.

This commit is contained in:
tianshujie
2021-08-30 11:18:33 +08:00
parent d88cf84cca
commit bc10a2e360
3 changed files with 4 additions and 4 deletions
+2 -1
View File
@@ -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>
+1 -1
View File
@@ -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');
?>
+1 -2
View File
@@ -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>