diff --git a/module/custom/js/mode.js b/module/custom/js/mode.js new file mode 100644 index 0000000000..cd8b86f050 --- /dev/null +++ b/module/custom/js/mode.js @@ -0,0 +1,9 @@ +$(function() +{ + $('[name=mode]').change(function() + { + var mode = $(this).val(); + if(mode == 'classic') $('#modeTips').html(newTips); + if(mode == 'new') $('#modeTips').html(classicTips); + }) +}) diff --git a/module/custom/lang/de.php b/module/custom/lang/de.php index 0066022c91..80e5343011 100644 --- a/module/custom/lang/de.php +++ b/module/custom/lang/de.php @@ -213,9 +213,10 @@ else $lang->custom->workingList['full'] = 'Full Management of Dev'; -$lang->custom->menuTip = 'Click to show/hide navigation bar. Drag to swtich display order.'; -$lang->custom->saveFail = 'Failed to save!'; -$lang->custom->page = ' Page'; +$lang->custom->menuTip = 'Click to show/hide navigation bar. Drag to swtich display order.'; +$lang->custom->saveFail = 'Failed to save!'; +$lang->custom->page = ' Page'; +$lang->custom->changeClassicTip = 'The module of Program will be hidden, if you switch to Version 12.5.3 and below.'; $lang->custom->scoreStatus[1] = 'On'; $lang->custom->scoreStatus[0] = 'Off'; diff --git a/module/custom/lang/en.php b/module/custom/lang/en.php index 07e9dbd611..7c65bcb6f3 100644 --- a/module/custom/lang/en.php +++ b/module/custom/lang/en.php @@ -213,9 +213,10 @@ else $lang->custom->workingList['full'] = 'Application Lifecycle Management'; -$lang->custom->menuTip = 'Click to show/hide the menu. Drag to switch display order.'; -$lang->custom->saveFail = 'Failed to save!'; -$lang->custom->page = ' Page'; +$lang->custom->menuTip = 'Click to show/hide the menu. Drag to switch display order.'; +$lang->custom->saveFail = 'Failed to save!'; +$lang->custom->page = ' Page'; +$lang->custom->changeClassicTip = 'The module of Program will be hidden, if you switch to Version 12.5.3 and below.'; $lang->custom->scoreStatus[1] = 'On'; $lang->custom->scoreStatus[0] = 'Off'; diff --git a/module/custom/lang/fr.php b/module/custom/lang/fr.php index dc63dcbc5b..3cde5e7903 100644 --- a/module/custom/lang/fr.php +++ b/module/custom/lang/fr.php @@ -213,9 +213,10 @@ else $lang->custom->workingList['full'] = 'Application Lifecycle Management'; -$lang->custom->menuTip = "Cliquez pour montrer/cacher le menu. Déplacez pour changer l'ordre d'affichage."; -$lang->custom->saveFail = 'Echec de la sauvegarde !'; -$lang->custom->page = ' Page'; +$lang->custom->menuTip = "Cliquez pour montrer/cacher le menu. Déplacez pour changer l'ordre d'affichage."; +$lang->custom->saveFail = 'Echec de la sauvegarde !'; +$lang->custom->page = ' Page'; +$lang->custom->changeClassicTip = 'The module of Program will be hidden, if you switch to Version 12.5.3 and below.'; $lang->custom->scoreStatus[1] = 'On'; $lang->custom->scoreStatus[0] = 'Off'; diff --git a/module/custom/lang/vi.php b/module/custom/lang/vi.php index f4a8b48a17..f867992f13 100644 --- a/module/custom/lang/vi.php +++ b/module/custom/lang/vi.php @@ -213,9 +213,10 @@ else $lang->custom->workingList['full'] = 'Quản lý vòng đời ứng dụng'; -$lang->custom->menuTip = 'Click để hiện/ẩn menu. Kéo thả để chuyển vị trí hiển thị.'; -$lang->custom->saveFail = 'Lưu thất bại!'; -$lang->custom->page = ''; +$lang->custom->menuTip = 'Click để hiện/ẩn menu. Kéo thả để chuyển vị trí hiển thị.'; +$lang->custom->saveFail = 'Lưu thất bại!'; +$lang->custom->page = ''; +$lang->custom->changeClassicTip = 'The module of Program will be hidden, if you switch to Version 12.5.3 and below.'; $lang->custom->scoreStatus[1] = 'On'; $lang->custom->scoreStatus[0] = 'Off'; diff --git a/module/custom/lang/zh-cn.php b/module/custom/lang/zh-cn.php index 60b1e10b0b..92f8d55d87 100644 --- a/module/custom/lang/zh-cn.php +++ b/module/custom/lang/zh-cn.php @@ -213,9 +213,10 @@ else $lang->custom->workingList['full'] = '完整研发管理工具'; -$lang->custom->menuTip = '点击显示或隐藏导航条目,拖拽来更改显示顺序。'; -$lang->custom->saveFail = '保存失败!'; -$lang->custom->page = '页面'; +$lang->custom->menuTip = '点击显示或隐藏导航条目,拖拽来更改显示顺序。'; +$lang->custom->saveFail = '保存失败!'; +$lang->custom->page = '页面'; +$lang->custom->changeClassicTip = '切换为老版本的习惯后,系统将取消项目集功能。'; $lang->custom->scoreStatus[1] = '开启'; $lang->custom->scoreStatus[0] = '关闭'; diff --git a/module/custom/view/mode.html.php b/module/custom/view/mode.html.php index e08ba604da..d78ff4990d 100644 --- a/module/custom/view/mode.html.php +++ b/module/custom/view/mode.html.php @@ -11,6 +11,8 @@ */ ?> +upgrade->selectedModeTips['new'])?> +custom->changeClassicTip)?>