* Finish task for dayup: http://vision.5upm.com/task-view-408.html
This commit is contained in:
+12
-3
@@ -164,9 +164,18 @@ class tree extends control
|
||||
$position[] = $this->lang->tree->manageTrainskill;
|
||||
}
|
||||
elseif($viewType == 'trainpost')
|
||||
{
|
||||
$this->lang->set('menugroup.tree', 'train');
|
||||
$this->lang->tree->menu = $this->lang->train->menu;
|
||||
{
|
||||
$postBrowseType = $this->session->postBrowseType ? $this->session->postBrowseType : 'train';
|
||||
if($postBrowseType == 'train')
|
||||
{
|
||||
$this->lang->set('menugroup.tree', 'train');
|
||||
$this->lang->tree->menu = $this->lang->train->menu;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->lang->set('menugroup.tree', 'company');
|
||||
$this->lang->tree->menu = $this->lang->company->menu;
|
||||
}
|
||||
|
||||
$title = $this->lang->tree->manageTrainpost;
|
||||
$position[] = $this->lang->tree->manageTrainpost;
|
||||
|
||||
@@ -20,7 +20,7 @@ li.tree-item-story > .tree-actions .tree-action[data-type=delete]{display:none;}
|
||||
<?php js::set('viewType', $viewType);?>
|
||||
<?php $this->app->loadLang('doc');?>
|
||||
<?php $hasBranch = (strpos('story|bug|case', $viewType) !== false and (!empty($root->type) && $root->type != 'normal')) ? true : false;?>
|
||||
<?php $name = $viewType == 'line' ? $lang->tree->line : (($viewType == 'doc' or $viewType == 'feedback') ? $lang->tree->cate : $lang->tree->name);?>
|
||||
<?php $name = $viewType == 'line' ? $lang->tree->line : (($viewType == 'doc' or $viewType == 'feedback' or $viewType == 'trainskill' or $viewType == 'trainpost') ? $lang->tree->cate : $lang->tree->name);?>
|
||||
<?php $title = ($viewType == 'line' or $viewType == 'trainskill' or $viewType == 'trainpost') ? '' : ((strpos($viewType, 'doc') !== false || strpos($viewType, 'feedback') !== false) ? $lang->doc->childType : $lang->tree->child);?>
|
||||
<div id="mainMenu" class="clearfix">
|
||||
<div class="btn-toolbar pull-left">
|
||||
|
||||
Reference in New Issue
Block a user