* adjust for show history in view page.

This commit is contained in:
wangyidong
2018-04-04 13:51:45 +08:00
parent 24188f2c4b
commit 5105af3d89
25 changed files with 160 additions and 229 deletions
+6
View File
@@ -25,6 +25,12 @@ class testtaskModel extends model
{
$this->loadModel('product')->setMenu($products, $productID, $branch);
$selectHtml = $this->product->select($products, $productID, 'testtask', 'browse', '', $branch);
$this->app->loadLang('qa');
$productIndex = '<div class="btn-group angle-btn"><div class="btn-group">' . html::a(helper::createLink('qa', 'index', 'locate=no'), $this->lang->qa->index, '', "class='btn'") . '</div></div>';
$productIndex .= $selectHtml;
$this->lang->modulePageNav = $productIndex;
foreach($this->lang->testtask->menu as $key => $value)
{
if($this->config->global->flow != 'onlyTest')