diff --git a/module/custom/control.php b/module/custom/control.php index 9c51f18647..9a1e19388a 100644 --- a/module/custom/control.php +++ b/module/custom/control.php @@ -189,7 +189,7 @@ class custom extends control { if($_POST) { - $this->loadModel('setting')->setItem('system.custom.working', $this->post->working); + $this->loadModel('setting')->setItem('system.common.global.flow', $this->post->flow); die(js::reload('parent')); } diff --git a/module/custom/lang/en.php b/module/custom/lang/en.php index 4547fbdb20..80f5282d88 100644 --- a/module/custom/lang/en.php +++ b/module/custom/lang/en.php @@ -101,10 +101,10 @@ $lang->custom->productProject->relation['1_1'] = 'Project - Sprint'; $lang->custom->productProject->notice = 'Please select according to your team.'; -$lang->custom->workingList['complete'] = 'Complete'; -$lang->custom->workingList['test'] = 'Test'; -$lang->custom->workingList['story'] = 'Story'; -$lang->custom->workingList['task'] = 'Task'; +$lang->custom->workingList['full'] = 'Full'; +$lang->custom->workingList['onlyTest'] = 'Test'; +$lang->custom->workingList['onlyStory'] = 'Story'; +$lang->custom->workingList['onlyTask'] = 'Task'; $lang->custom->menuTip = 'Click to show/hide navigation bar. Drag to swtich display order.'; $lang->custom->saveFail = 'Failed to save!'; diff --git a/module/custom/lang/zh-cn.php b/module/custom/lang/zh-cn.php index 395d06689a..962cad2fe4 100644 --- a/module/custom/lang/zh-cn.php +++ b/module/custom/lang/zh-cn.php @@ -101,10 +101,10 @@ $lang->custom->productProject->relation['1_1'] = '项目 - 迭代'; $lang->custom->productProject->notice = '请根据实际情况选择适合自己团队的概念。'; -$lang->custom->workingList['complete'] = '完整研发管理工具'; -$lang->custom->workingList['test'] = '测试管理工具'; -$lang->custom->workingList['story'] = '需求管理工具'; -$lang->custom->workingList['task'] = '任务管理工具'; +$lang->custom->workingList['full'] = '完整研发管理工具'; +$lang->custom->workingList['onlyTest'] = '测试管理工具'; +$lang->custom->workingList['onlyStory'] = '需求管理工具'; +$lang->custom->workingList['onlyTask'] = '任务管理工具'; $lang->custom->menuTip = '点击显示或隐藏导航条目,拖拽来更改显示顺序。'; $lang->custom->saveFail = '保存失败!'; diff --git a/module/custom/view/working.html.php b/module/custom/view/working.html.php index 04fd6befb4..c7c0e28187 100644 --- a/module/custom/view/working.html.php +++ b/module/custom/view/working.html.php @@ -33,7 +33,7 @@
| custom->working;?> | -custom->workingList, isset($config->custom->working) ? $config->custom->working : 'complete', '', 'block');?> | +custom->workingList, isset($config->global->flow) ? $config->global->flow : 'full', '', 'block');?> |
|---|---|---|