diff --git a/module/block/lang/de.php b/module/block/lang/de.php index f0d98437ac..a193b17daf 100644 --- a/module/block/lang/de.php +++ b/module/block/lang/de.php @@ -623,6 +623,15 @@ $lang->block->themes['blackberry'] = 'Blackberry'; $lang->block->themes['classic'] = 'Classic'; $lang->block->themes['purple'] = 'Purple'; +$lang->block->visionTitle = 'The user interface of ZenTao is divided into 【Full feature interface】 and 【Operation Management Interface】.'; +$lang->block->visions['rnd'] = new stdclass(); +$lang->block->visions['rnd']->key = 'rnd'; +$lang->block->visions['rnd']->title = 'Full feature interface'; +$lang->block->visions['rnd']->text = 'Integrates multi-dimensional management of program, product, project, execution, test, etc., and provides a whole-process project management solution.'; +$lang->block->visions['lite'] = new stdclass(); +$lang->block->visions['lite']->key = 'lite'; +$lang->block->visions['lite']->title = 'Operation Management Interface'; +$lang->block->visions['lite']->text = 'Specially designed for Non-R&D teams, mainly based on the intuitive and visual Kanban project management model.'; $lang->block->customModes['light'] = 'Light Mode'; $lang->block->customModes['ALM'] = 'ALM Mode'; diff --git a/module/block/lang/en.php b/module/block/lang/en.php index 77295236fd..745b6af68b 100644 --- a/module/block/lang/en.php +++ b/module/block/lang/en.php @@ -623,6 +623,15 @@ $lang->block->themes['blackberry'] = 'Blackberry'; $lang->block->themes['classic'] = 'Classic'; $lang->block->themes['purple'] = 'Purple'; +$lang->block->visionTitle = 'The user interface of ZenTao is divided into 【Full feature interface】 and 【Operation Management Interface】.'; +$lang->block->visions['rnd'] = new stdclass(); +$lang->block->visions['rnd']->key = 'rnd'; +$lang->block->visions['rnd']->title = 'Full feature interface'; +$lang->block->visions['rnd']->text = 'Integrates multi-dimensional management of program, product, project, execution, test, etc., and provides a whole-process project management solution.'; +$lang->block->visions['lite'] = new stdclass(); +$lang->block->visions['lite']->key = 'lite'; +$lang->block->visions['lite']->title = 'Operation Management Interface'; +$lang->block->visions['lite']->text = 'Specially designed for Non-R&D teams, mainly based on the intuitive and visual Kanban project management model.'; $lang->block->customModes['light'] = 'Light Mode'; $lang->block->customModes['ALM'] = 'ALM Mode'; diff --git a/module/block/lang/fr.php b/module/block/lang/fr.php index 7ce1956f99..103e27710a 100644 --- a/module/block/lang/fr.php +++ b/module/block/lang/fr.php @@ -623,6 +623,15 @@ $lang->block->themes['blackberry'] = 'Blackberry'; $lang->block->themes['classic'] = 'Classic'; $lang->block->themes['purple'] = 'Purple'; +$lang->block->visionTitle = 'The user interface of ZenTao is divided into 【Full feature interface】 and 【Operation Management Interface】.'; +$lang->block->visions['rnd'] = new stdclass(); +$lang->block->visions['rnd']->key = 'rnd'; +$lang->block->visions['rnd']->title = 'Full feature interface'; +$lang->block->visions['rnd']->text = 'Integrates multi-dimensional management of program, product, project, execution, test, etc., and provides a whole-process project management solution.'; +$lang->block->visions['lite'] = new stdclass(); +$lang->block->visions['lite']->key = 'lite'; +$lang->block->visions['lite']->title = 'Operation Management Interface'; +$lang->block->visions['lite']->text = 'Specially designed for Non-R&D teams, mainly based on the intuitive and visual Kanban project management model.'; $lang->block->customModes['light'] = 'Light Mode'; $lang->block->customModes['ALM'] = 'ALM Mode'; diff --git a/module/block/lang/zh-cn.php b/module/block/lang/zh-cn.php index 866ee594c3..02a60a8ab4 100644 --- a/module/block/lang/zh-cn.php +++ b/module/block/lang/zh-cn.php @@ -623,6 +623,15 @@ $lang->block->themes['blackberry'] = '露莓黑'; $lang->block->themes['classic'] = '经典蓝'; $lang->block->themes['purple'] = '玉烟紫'; +$lang->block->visionTitle = '禅道使用界面分为【研发综合界面】和【运营管理界面】。'; +$lang->block->visions['rnd'] = new stdclass(); +$lang->block->visions['rnd']->key = 'rnd'; +$lang->block->visions['rnd']->title = '研发综合界面'; +$lang->block->visions['rnd']->text = '集项目集、产品、项目、执行、测试等多维度管理于一体,提供全过程项目管理解决方案。'; +$lang->block->visions['lite'] = new stdclass(); +$lang->block->visions['lite']->key = 'lite'; +$lang->block->visions['lite']->title = '运营管理界面'; +$lang->block->visions['lite']->text = '专为非研发团队打造,主要以直观、可视化的看板项目管理模型为主。'; $lang->block->customModes['light'] = '轻量管理模式'; $lang->block->customModes['ALM'] = '全生命周期管理模式'; diff --git a/module/block/view/guide.html.php b/module/block/view/guide.html.php index f6f69c171c..8c2e0cb2c9 100644 --- a/module/block/view/guide.html.php +++ b/module/block/view/guide.html.php @@ -57,18 +57,39 @@ $(function() { $('.block-guide .tutorialBtn').addClass('hidden'); } + if($(this).attr('id') === 'visionSwitch') + { + var scrollTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop || $(('#guideBody')).offset().top; + localStorage.setItem('visionPosition', scrollTop); + } + else + { + localStorage.getItem('visionPosition') && localStorage.removeItem('visionPosition'); + } }) + if(localStorage.getItem('visionPosition') && Number(localStorage.getItem('visionPosition'))) + { + var scrollTopNum = Number(localStorage.getItem('visionPosition')); + document.getElementById('guideBody').scrollTo = scrollTopNum; + $('#visionSwitch > a').click(); + window.scrollTo(0, scrollTopNum); + } + else + { + $('#flowchart > a').click(); + } }); -
+ +
-