* Adjust modulePageNav for mobile page.

This commit is contained in:
daitingting
2018-06-20 14:24:22 +08:00
parent abf5ce608c
commit e0fed55401
7 changed files with 138 additions and 77 deletions
+10 -3
View File
@@ -26,9 +26,16 @@ class bugModel extends model
$this->loadModel('product')->setMenu($products, $productID, $branch, $moduleID, 'bug');
$selectHtml = $this->product->select($products, $productID, 'bug', 'browse', '', $branch, $moduleID, 'bug');
$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;
if($this->app->viewType == 'mhtml')
{
$productIndex = $selectHtml;
}
else
{
$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->bug->menu as $key => $menu)