* Modify home btn title.
This commit is contained in:
@@ -912,9 +912,10 @@ class commonModel extends model
|
||||
if($tab == 'product') $currentMethod = 'all';
|
||||
}
|
||||
|
||||
$link = helper::createLink($currentModule, $currentMethod);
|
||||
$link = helper::createLink($currentModule, $currentMethod);
|
||||
$className = $tab == 'devops' ? 'btn num' : 'btn';
|
||||
$html = $link ? html::a($link, "$icon {$lang->$tab->common}", '', "class='$className' style='padding-top: 2px'") : "$icon {$lang->$tab->common}";
|
||||
$btnTitle = isset($lang->db->custom['common']['mainNav'][$tab]) ? $lang->db->custom['common']['mainNav'][$tab] : $lang->$tab->common;
|
||||
$html = $link ? html::a($link, "$icon $btnTitle", '', "class='$className' style='padding-top: 2px'") : "$icon $btnTitle";
|
||||
|
||||
echo "<div class='btn-group header-btn'>" . $html . '</div>';
|
||||
}
|
||||
|
||||
@@ -248,7 +248,7 @@ if(!helper::hasFeature('waterfall')) $config->disableFeature = array('design', '
|
||||
|
||||
$config->dev->disableMainMenu = array('project', 'product', 'execution');
|
||||
$config->dev->projectMenus = array('project', 'scrum', 'waterfall', 'kanbanProject');
|
||||
$config->dev->hideMainMenu = array('admin');
|
||||
$config->dev->hideMainMenu = array('admin', 'kanban');
|
||||
if($config->vision == 'lite')
|
||||
{
|
||||
$config->dev->projectMenus = array('project', 'kanbanProject');
|
||||
|
||||
@@ -118,8 +118,11 @@ class dev extends control
|
||||
$moduleName = $module . 'SubMenu';
|
||||
}
|
||||
|
||||
if($type == 'tag' and empty($module)) $module = 'my';
|
||||
if($type == 'tag' and empty($method)) $method = 'todo';
|
||||
if($type == 'tag')
|
||||
{
|
||||
if(empty($module)) $module = 'my';
|
||||
if(empty($method)) $method = 'todo';
|
||||
}
|
||||
|
||||
if($this->server->request_method == 'POST')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user