diff --git a/module/action/lang/zh-tw.php b/module/action/lang/zh-tw.php
index 7cbd800655..03a73ef7f0 100755
--- a/module/action/lang/zh-tw.php
+++ b/module/action/lang/zh-tw.php
@@ -9,6 +9,8 @@
* @version $Id: zh-tw.php 4955 2013-07-02 01:47:21Z chencongzhi520@gmail.com $
* @link http://www.zentao.net
*/
+global $config;
+
$lang->action->common = '系統日誌';
$lang->action->product = $lang->productCommon;
$lang->action->project = '項目';
@@ -30,6 +32,9 @@ $lang->action->editComment = '修改備註';
$lang->action->create = '添加備註';
$lang->action->comment = '備註';
+$lang->action->undeleteAction = '還原數據';
+$lang->action->hideOneAction = '隱藏數據';
+
$lang->action->trashTips = '提示:為了保證系統的完整性,禪道系統的刪除都是標記刪除。';
$lang->action->textDiff = '文本格式';
$lang->action->original = '原始格式';
@@ -73,7 +78,7 @@ $lang->action->objectTypes['productplan'] = '計劃';
$lang->action->objectTypes['release'] = '發佈';
$lang->action->objectTypes['program'] = '項目集';
$lang->action->objectTypes['project'] = '項目';
-$lang->action->objectTypes['execution'] = $lang->executionCommon;
+$lang->action->objectTypes['execution'] = $config->systemMode == 'new' ? '執行' : $lang->executionCommon;
$lang->action->objectTypes['task'] = '任務';
$lang->action->objectTypes['build'] = '版本';
$lang->action->objectTypes['job'] = '構建';
@@ -96,7 +101,6 @@ $lang->action->objectTypes['stakeholder'] = '干係人';
$lang->action->objectTypes['budget'] = '費用估算';
$lang->action->objectTypes['entry'] = '應用';
$lang->action->objectTypes['webhook'] = 'Webhook';
-$lang->action->objectTypes['job'] = '構建';
/* 用來描述操作歷史記錄。*/
$lang->action->desc = new stdclass();
@@ -427,12 +431,11 @@ $lang->action->dynamicAction->entry['created'] = '添加應用';
$lang->action->dynamicAction->entry['edited'] = '編輯應用';
/* 用來生成相應對象的連結。*/
-global $config;
$lang->action->label->product = $lang->productCommon . '|product|view|productID=%s';
$lang->action->label->productplan = "計劃|productplan|view|productID=%s";
$lang->action->label->release = '發佈|release|view|productID=%s';
$lang->action->label->story = "{$lang->SRCommon}|story|view|storyID=%s";
-$lang->action->label->program = "項目集|program|pgmproduct|programID=%s";
+$lang->action->label->program = "項目集|program|product|programID=%s";
$lang->action->label->project = "項目|project|index|projectID=%s";
if($config->systemMode == 'new')
{
@@ -468,12 +471,12 @@ $lang->action->search->objectTypeList[''] = '';
$lang->action->search->objectTypeList['product'] = $lang->productCommon;
$lang->action->search->objectTypeList['program'] = '項目集';
$lang->action->search->objectTypeList['project'] = '項目';
-$lang->action->search->objectTypeList['execution'] = $lang->sprintCommon;
+$lang->action->search->objectTypeList['execution'] = '執行';
$lang->action->search->objectTypeList['bug'] = 'Bug';
$lang->action->search->objectTypeList['case'] = '用例';
$lang->action->search->objectTypeList['caseresult'] = '用例結果';
$lang->action->search->objectTypeList['stepresult'] = '用例步驟';
-$lang->action->search->objectTypeList['story'] = '用需/軟需';
+$lang->action->search->objectTypeList['story'] = "$lang->SRCommon/$lang->URCommon";
$lang->action->search->objectTypeList['task'] = '任務';
$lang->action->search->objectTypeList['testtask'] = '測試單';
$lang->action->search->objectTypeList['user'] = '用戶';
diff --git a/module/admin/lang/zh-tw.php b/module/admin/lang/zh-tw.php
index b95dc6a627..ba17bccad6 100644
--- a/module/admin/lang/zh-tw.php
+++ b/module/admin/lang/zh-tw.php
@@ -9,7 +9,6 @@
* @version $Id: zh-tw.php 4767 2013-05-05 06:10:13Z wwccss $
* @link http://www.zentao.net
*/
-$lang->admin->common = '後台管理';
$lang->admin->index = '後台管理首頁';
$lang->admin->checkDB = '檢查資料庫';
$lang->admin->sso = 'ZDOO整合';
@@ -54,13 +53,14 @@ $lang->admin->bind->caption = '關聯社區帳號';
$lang->admin->bind->success = "關聯賬戶成功";
$lang->admin->safe = new stdclass();
-$lang->admin->safe->common = '安全策略';
-$lang->admin->safe->set = '密碼安全設置';
-$lang->admin->safe->password = '密碼安全';
-$lang->admin->safe->weak = '常用弱口令';
-$lang->admin->safe->reason = '類型';
-$lang->admin->safe->checkWeak = '弱口令掃瞄';
-$lang->admin->safe->changeWeak = '修改弱口令密碼';
+$lang->admin->safe->common = '安全策略';
+$lang->admin->safe->set = '密碼安全設置';
+$lang->admin->safe->password = '密碼安全';
+$lang->admin->safe->weak = '常用弱口令';
+$lang->admin->safe->reason = '類型';
+$lang->admin->safe->checkWeak = '弱口令掃瞄';
+$lang->admin->safe->changeWeak = '修改弱口令密碼';
+$lang->admin->safe->loginCaptcha = '登錄使用驗證碼';
$lang->admin->safe->modifyPasswordFirstLogin = '首次登錄修改密碼';
$lang->admin->safe->modeList[0] = '不檢查';
@@ -79,5 +79,8 @@ $lang->admin->safe->reasonList['birthday'] = '與生日相同';
$lang->admin->safe->modifyPasswordList[1] = '必須修改';
$lang->admin->safe->modifyPasswordList[0] = '不強制';
+$lang->admin->safe->loginCaptchaList[1] = '是';
+$lang->admin->safe->loginCaptchaList[0] = '否';
+
$lang->admin->safe->noticeMode = '系統會在登錄、創建和修改用戶、修改密碼的時候檢查用戶口令。';
$lang->admin->safe->noticeStrong = '密碼長度越長,含有大寫字母或數字或特殊符號越多,密碼字母越不重複,安全度越強!';
diff --git a/module/automation/config.php b/module/automation/config.php
index 147463edb4..f74910140d 100644
--- a/module/automation/config.php
+++ b/module/automation/config.php
@@ -1,5 +1,5 @@
automation->ztfSite = 'http://www.ztesting.net';
+$config->automation->ztfSite = 'https://ztf.im';
$config->automation->ztfDownload = 'https://ztf.im/ztf.html';
$config->automation->ztfManual = 'https://ztf.im/book/ztf/ztf-about-26.html';
$config->automation->zendataSite = 'https://www.zendata.cn';
diff --git a/module/automation/css/browse.css b/module/automation/css/browse.css
new file mode 100644
index 0000000000..e49bb0b476
--- /dev/null
+++ b/module/automation/css/browse.css
@@ -0,0 +1,53 @@
+.ztf-block {width: 100%; margin-top: 22px; background: linear-gradient(to bottom, #deeaf8 , #f4f7fe); display: inline-flex; box-shadow: 2px 2px 5px #e2dede;}
+.ztf-logo {width: 40%; height: 190px; display: inline-block; line-height: 190px; text-align: right; padding-right: 65px;}
+.ztf-download {width: 45%; height: 190px; display: inline-block;}
+.ztf-download-trait {display: inline-block; width: 100%; margin: 45px 0px 6px 0px; font-weight:bold; font-size: 15px; color: #0c4678;}
+.ztf-download-trait div {width: 35%; float: left; padding: 8px 0px;}
+.ztf-download-button {width: 100%;}
+.ztf-download-button a {margin-right: 15px; font-weight:bold; font-size: 14px;}
+.dot-symbol{font-size: 12px; margin-right: 5px;}
+
+.block-content {width: 100%;}
+.block-details {width: 49%; display: inline-block; padding: 30px 140px; margin-top: 20px; box-shadow: 2px 2px 5px #e2dede;}
+.block-details-right {float: right;}
+.block-details p {font-size: 18px; font-weight:bold; margin: 0 0 10px 20px;}
+.block-details li {width: 40%; float: left; padding: 6px 0px; font-size: 14px; font-weight:bold; color: #666666; text-align: left; list-style:none;}
+.block-details-line li {width: 100%;}
+
+.zendata-block {width: 100%; margin-top: 40px; background: linear-gradient(to bottom, #deeaf8 , #f4f7fe); display: inline-flex; box-shadow: 2px 2px 5px #e2dede;}
+.zendata-logo {width: 40%; height: 170px; display: inline-block; line-height: 170px; text-align: right; padding-right: 90px;}
+.zendata-download {width: 45%; height: 170px; display: inline-block;}
+.zendata-download-trait {display: inline-block; width: 100%; margin: 60px 0px 6px 0px; font-weight:bold; font-size: 15px; color: #0c4678;}
+.zendata-download-trait div {margin-right: 35px; float: left; padding: 8px 0px;}
+.zendata-download-button {width: 100%;}
+.zendata-download-button a {margin-right: 15px; font-weight:bold; font-size: 14px;}
+
+.zentata-content {display: table; width: 100%; table-layout: fixed; margin-top: 20px;}
+.block-zendata-block {display: table-cell;}
+.block-zendata {width: 96%; display: inline-block; padding: 30px 40px; margin-top: 20px; box-shadow: 2px 2px 5px #e2dede;}
+.block-zendata p {font-size: 18px; font-weight:bold; margin: 0 0 10px 20px;}
+.block-zendata li {width: 100%; float: left; padding: 6px 0px; font-size: 14px; font-weight:bold; color: #666666; text-align: left; list-style:none;}
+.qr-code {margin-top: 20px; padding: 20px 0px 20px 58px; box-shadow: 2px 2px 5px #e2dede;}
+.qr-code-img {width: 90px; height: 90px; display: inline-block; float: left;}
+.qr-code-details {display: inline-block; margin: 10px 0px 0px 10px;}
+.qr-code-details div{margin: 5px 0px;}
+.qr-code-group {color: #898989;}
+@media screen and (max-height: 768px)
+{
+ .qr-code {padding: 20px 0px 20px 43px;}
+ .block-details li {width: 50%;}
+ .block-details-line li {width: 100%;}
+ .ztf-download-trait div {width: 47%;}
+ .block-details {padding: 30px 60px;}
+ .block-zendata {padding: 30px 25px;}
+}
+
+@media screen and (max-height: 720px)
+{
+ .zendata-download {width: 50%;}
+ .ztf-download-trait {margin: 35px 0px 6px 0px;}
+ .block-zendata {padding: 30px 14px;}
+ .ztf-download {width: 48%;}
+ .qr-code {padding: 20px 0px 20px 32px;}
+}
+.btn-automation {background: linear-gradient(to bottom, #0bb6fb, #0d67e1); border: 0px; padding: 8px 12px;}
diff --git a/module/automation/lang/zh-cn.php b/module/automation/lang/zh-cn.php
index 91eddbefd9..f128edee00 100644
--- a/module/automation/lang/zh-cn.php
+++ b/module/automation/lang/zh-cn.php
@@ -12,7 +12,7 @@
$lang->automation->common = '自动化测试';
$lang->automation->browse = '首页';
-$lang->automation->title = '自动化测试解决方案——两款工具';
+$lang->automation->title = '自动化测试解决方案';
$lang->automation->ztfSite = '禅道ZTF官网';
$lang->automation->ztfDownload = 'ZTF框架下载';
diff --git a/module/automation/lang/zh-tw.php b/module/automation/lang/zh-tw.php
new file mode 100644
index 0000000000..afc173fc3c
--- /dev/null
+++ b/module/automation/lang/zh-tw.php
@@ -0,0 +1,66 @@
+
+ * @package automation
+ * @version $Id: zh-tw.php 4767 2013-05-05 06:10:13Z wwccss $
+ * @link http://www.zentao.net
+ */
+$lang->automation->common = '自動化測試';
+$lang->automation->browse = '首頁';
+
+$lang->automation->title = '自動化測試解決方案';
+
+$lang->automation->ztfSite = '禪道ZTF官網';
+$lang->automation->ztfDownload = 'ZTF框架下載';
+$lang->automation->ztfManual = 'ZTF框架手冊';
+
+$lang->automation->ztfFeature1 = 'ZTF為你解決各種問題';
+$lang->automation->ztfFeature2 = 'ZTF為你解決如下問題';
+$lang->automation->ztfFeature3 = '用例信息的管理';
+$lang->automation->ztfFeature4 = '測試結果的對比';
+$lang->automation->ztfFeature5 = '測試腳本的執行';
+$lang->automation->ztfFeature6 = '缺陷Bug的提交';
+
+$lang->automation->ztfFeature7 = 'ZTF對環境無任何依賴';
+$lang->automation->ztfFeature8 = '使用Go語言開發';
+$lang->automation->ztfFeature9 = '部署無任何依賴';
+$lang->automation->ztfFeature10 = '所有平台均可運行';
+$lang->automation->ztfFeature11 = '只有一個執行檔';
+
+$lang->automation->ztfFeature12 = 'ZTF對自動化測試方式無要求';
+$lang->automation->ztfFeature13 = '支持常見的各種開發語言';
+$lang->automation->ztfFeature14 = '可以和已知測試框架整合';
+$lang->automation->ztfFeature15 = '對腳本實現方式無要求';
+
+$lang->automation->ztfFeature16 = '可批量將禪道測試用例導出為腳本';
+$lang->automation->ztfFeature17 = '可以將執行結果提交到禪道中';
+$lang->automation->ztfFeature18 = '可以將執行結果創建為Bug';
+$lang->automation->ztfFeature19 = 'ZTF和禪道深度整合';
+
+$lang->automation->zendataSite = 'ZenData官網';
+$lang->automation->zendataDownload = 'ZenData下載';
+$lang->automation->zendataManual = 'ZenData手冊';
+
+$lang->automation->zendata = '通用數據生成利器';
+$lang->automation->zendataFeature1 = '不懂代碼也可以使用,輕鬆上手';
+$lang->automation->zendataFeature2 = '數據格式完全自定義,無任何限制';
+$lang->automation->zendataFeature3 = '一鍵生成百萬條數據,毫無壓力';
+
+$lang->automation->zendataFeature4 = '跨平台跨語言';
+$lang->automation->zendataFeature5 = '運行只需要一個執行檔';
+$lang->automation->zendataFeature6 = 'Windows、Linux、MacOS都可以用';
+$lang->automation->zendataFeature7 = '各種語言都可以用';
+
+$lang->automation->zendataFeature8 = '各種黑技巧';
+$lang->automation->zendataFeature9 = '區間,步長,隨機,重複,引用';
+$lang->automation->zendataFeature10 = '指定檔案列表,從excel中查詢';
+$lang->automation->zendataFeature11 = '平行生成、遞歸生成、反向解析';
+
+$lang->automation->groupTips = '歡迎掃碼加入自動化測試QQ交流群';
+$lang->automation->groupTitle = '軟件測試交流群:';
+$lang->automation->qqGroup = '522506766';
+$lang->automation->groupDescription = '為軟件測試從業者提供的軟件測試技術交流社群,分享軟件測試工具與方法,幫助大家提升軟件測試技能水平。';
diff --git a/module/automation/view/browse.html.php b/module/automation/view/browse.html.php
index 6d635716bb..b2ee1c9786 100644
--- a/module/automation/view/browse.html.php
+++ b/module/automation/view/browse.html.php
@@ -11,52 +11,6 @@
*/
?>
-
diff --git a/module/backup/lang/zh-tw.php b/module/backup/lang/zh-tw.php
index 6eb3443ae3..64f8c5e89f 100644
--- a/module/backup/lang/zh-tw.php
+++ b/module/backup/lang/zh-tw.php
@@ -1,5 +1,5 @@
backup->common = '備份';
+$lang->backup->common = '系統備份';
$lang->backup->index = '備份首頁';
$lang->backup->history = '備份歷史';
$lang->backup->delete = '刪除備份';
@@ -8,6 +8,9 @@ $lang->backup->restore = '還原';
$lang->backup->change = '保留時間';
$lang->backup->changeAB = '修改';
$lang->backup->rmPHPHeader = '去除安全設置';
+$lang->backup->setting = '設置';
+
+$lang->backup->settingAction = '備份設置';
$lang->backup->time = '備份時間';
$lang->backup->files = '備份檔案';
@@ -19,7 +22,6 @@ $lang->backup->status = '狀態';
$lang->backup->statusList['success'] = '成功';
$lang->backup->statusList['fail'] = '失敗';
-$lang->backup->setting = '設置';
$lang->backup->settingDir = '備份目錄';
$lang->backup->settingList['nofile'] = '不備份附件和代碼';
$lang->backup->settingList['nosafe'] = '不需要防下載PHP檔案頭';
diff --git a/module/block/control.php b/module/block/control.php
index 9ea995f2ec..6e33182fcd 100644
--- a/module/block/control.php
+++ b/module/block/control.php
@@ -885,7 +885,7 @@ class block extends control
$this->app->loadClass('pager', $static = true);
$pager = pager::init(0, 3, 1);
$project->progress = $project->allStories == 0 ? 0 : round($project->doneStories / $project->allStories, 3) * 100;
- $project->executions = $this->project->getStats($projectID, 'all', 0, 0, 30, 'id_asc', $pager);
+ $project->executions = $this->project->getStats($projectID, 'all', 0, 0, 30, 'id_desc', $pager);
}
elseif($project->model == 'waterfall' and isset($this->config->maxVersion))
{
diff --git a/module/block/lang/de.php b/module/block/lang/de.php
index e585018161..2d4307671a 100644
--- a/module/block/lang/de.php
+++ b/module/block/lang/de.php
@@ -11,12 +11,20 @@
*/
global $config;
$lang->block = new stdclass();
-$lang->block->common = 'InfoBlock';
-$lang->block->name = 'Name';
-$lang->block->style = 'Style';
-$lang->block->grid = 'Gitter';
-$lang->block->color = 'Farbe';
-$lang->block->reset = 'Zurücksetzen';
+$lang->block->common = 'InfoBlock';
+$lang->block->name = 'Name';
+$lang->block->style = 'Style';
+$lang->block->grid = 'Gitter';
+$lang->block->color = 'Farbe';
+$lang->block->reset = 'Zurücksetzen';
+$lang->block->story = 'Story';
+$lang->block->bug = 'Bug';
+$lang->block->investment = 'Investment';
+$lang->block->left = 'Left';
+$lang->block->estimate = 'Estimate';
+$lang->block->doneBugs = 'Done';
+$lang->block->leftBugs = 'Left';
+$lang->block->last = 'Last';
$lang->block->account = 'Konto';
$lang->block->module = 'Modul';
diff --git a/module/block/lang/en.php b/module/block/lang/en.php
index 9cc986161e..fd92c396d1 100644
--- a/module/block/lang/en.php
+++ b/module/block/lang/en.php
@@ -11,12 +11,20 @@
*/
global $config;
$lang->block = new stdclass();
-$lang->block->common = 'Block';
-$lang->block->name = 'Name';
-$lang->block->style = 'Style';
-$lang->block->grid = 'Position';
-$lang->block->color = 'Color';
-$lang->block->reset = 'Reset Layout';
+$lang->block->common = 'Block';
+$lang->block->name = 'Name';
+$lang->block->style = 'Style';
+$lang->block->grid = 'Position';
+$lang->block->color = 'Color';
+$lang->block->reset = 'Reset Layout';
+$lang->block->story = 'Story';
+$lang->block->bug = 'Bug';
+$lang->block->investment = 'Investment';
+$lang->block->left = 'Left';
+$lang->block->estimate = 'Estimate';
+$lang->block->doneBugs = 'Done';
+$lang->block->leftBugs = 'Left';
+$lang->block->last = 'Last';
$lang->block->account = 'Account';
$lang->block->module = 'Module';
diff --git a/module/block/lang/fr.php b/module/block/lang/fr.php
index 5d94570219..0b2043849d 100644
--- a/module/block/lang/fr.php
+++ b/module/block/lang/fr.php
@@ -11,12 +11,20 @@
*/
global $config;
$lang->block = new stdclass();
-$lang->block->common = 'Bloc';
-$lang->block->name = 'Nom';
-$lang->block->style = 'Style';
-$lang->block->grid = 'Position';
-$lang->block->color = 'Couleur';
-$lang->block->reset = 'Réinit';
+$lang->block->common = 'Bloc';
+$lang->block->name = 'Nom';
+$lang->block->style = 'Style';
+$lang->block->grid = 'Position';
+$lang->block->color = 'Couleur';
+$lang->block->reset = 'Réinit';
+$lang->block->story = 'Story';
+$lang->block->bug = 'Bug';
+$lang->block->investment = 'Investment';
+$lang->block->left = 'Left';
+$lang->block->estimate = 'Estimate';
+$lang->block->doneBugs = 'Done';
+$lang->block->leftBugs = 'Left';
+$lang->block->last = 'Last';
$lang->block->account = 'Compte';
$lang->block->module = 'Module';
diff --git a/module/block/lang/vi.php b/module/block/lang/vi.php
index 4090bb741f..2b82f707ab 100644
--- a/module/block/lang/vi.php
+++ b/module/block/lang/vi.php
@@ -11,12 +11,20 @@
*/
global $config;
$lang->block = new stdclass();
-$lang->block->common = 'Block';
-$lang->block->name = 'Tên';
-$lang->block->style = 'Kiểu';
-$lang->block->grid = 'Vị trí';
-$lang->block->color = 'Màu';
-$lang->block->reset = 'Thiết lập lại giao diện';
+$lang->block->common = 'Block';
+$lang->block->name = 'Tên';
+$lang->block->style = 'Kiểu';
+$lang->block->grid = 'Vị trí';
+$lang->block->color = 'Màu';
+$lang->block->reset = 'Thiết lập lại giao diện';
+$lang->block->story = 'Story';
+$lang->block->bug = 'Bug';
+$lang->block->investment = 'Investment';
+$lang->block->left = 'Left';
+$lang->block->estimate = 'Estimate';
+$lang->block->doneBugs = 'Done';
+$lang->block->leftBugs = 'Left';
+$lang->block->last = 'Last';
$lang->block->account = 'Tài khoản';
$lang->block->module = 'Module';
diff --git a/module/block/lang/zh-cn.php b/module/block/lang/zh-cn.php
index 7947c7b380..f6312957b6 100644
--- a/module/block/lang/zh-cn.php
+++ b/module/block/lang/zh-cn.php
@@ -11,12 +11,20 @@
*/
global $config;
$lang->block = new stdclass();
-$lang->block->common = '区块';
-$lang->block->name = '区块名称';
-$lang->block->style = '外观';
-$lang->block->grid = '位置';
-$lang->block->color = '颜色';
-$lang->block->reset = '恢复默认';
+$lang->block->common = '区块';
+$lang->block->name = '区块名称';
+$lang->block->style = '外观';
+$lang->block->grid = '位置';
+$lang->block->color = '颜色';
+$lang->block->reset = '恢复默认';
+$lang->block->story = '需求';
+$lang->block->bug = 'Bug';
+$lang->block->investment = '投入';
+$lang->block->left = '剩余';
+$lang->block->estimate = '预计工时';
+$lang->block->doneBugs = '已解决';
+$lang->block->leftBugs = '未解决';
+$lang->block->last = '近期';
$lang->block->account = '所属用户';
$lang->block->module = '所属模块';
diff --git a/module/block/lang/zh-tw.php b/module/block/lang/zh-tw.php
index 8e0114c099..2618da7ef5 100644
--- a/module/block/lang/zh-tw.php
+++ b/module/block/lang/zh-tw.php
@@ -9,13 +9,22 @@
* @version $Id$
* @link http://www.zentao.net
*/
+global $config;
$lang->block = new stdclass();
-$lang->block->common = '區塊';
-$lang->block->name = '區塊名稱';
-$lang->block->style = '外觀';
-$lang->block->grid = '位置';
-$lang->block->color = '顏色';
-$lang->block->reset = '恢復預設';
+$lang->block->common = '區塊';
+$lang->block->name = '區塊名稱';
+$lang->block->style = '外觀';
+$lang->block->grid = '位置';
+$lang->block->color = '顏色';
+$lang->block->reset = '恢復預設';
+$lang->block->story = '需求';
+$lang->block->bug = 'Bug';
+$lang->block->investment = '投入';
+$lang->block->left = '剩餘';
+$lang->block->estimate = '預計工時';
+$lang->block->doneBugs = '已解決';
+$lang->block->leftBugs = '未解決';
+$lang->block->last = '近期';
$lang->block->account = '所屬用戶';
$lang->block->module = '所屬模組';
@@ -280,11 +289,14 @@ $lang->block->default['full']['my']['3']['grid'] = 4;
$lang->block->default['full']['my']['3']['source'] = 'todo';
$lang->block->default['full']['my']['3']['params']['count'] = '20';
+if($config->systemMode == 'new')
+{
$lang->block->default['full']['my']['4']['title'] = '項目統計';
$lang->block->default['full']['my']['4']['block'] = 'statistic';
$lang->block->default['full']['my']['4']['source'] = 'project';
$lang->block->default['full']['my']['4']['grid'] = 8;
$lang->block->default['full']['my']['4']['params']['count'] = '20';
+}
$lang->block->default['full']['my']['5']['title'] = '我的貢獻';
$lang->block->default['full']['my']['5']['block'] = 'contribute';
@@ -308,10 +320,13 @@ $lang->block->default['full']['my']['7']['params']['riskNum'] = '20';
$lang->block->default['full']['my']['7']['params']['issueNum'] = '20';
$lang->block->default['full']['my']['7']['params']['storyNum'] = '20';
-$lang->block->default['full']['my']['8']['title'] = '項目人力投入';
-$lang->block->default['full']['my']['8']['block'] = 'projectteam';
-$lang->block->default['full']['my']['8']['source'] = 'project';
-$lang->block->default['full']['my']['8']['grid'] = 8;
+if($config->systemMode == 'new')
+{
+ $lang->block->default['full']['my']['8']['title'] = '項目人力投入';
+ $lang->block->default['full']['my']['8']['block'] = 'projectteam';
+ $lang->block->default['full']['my']['8']['source'] = 'project';
+ $lang->block->default['full']['my']['8']['grid'] = 8;
+}
$lang->block->default['full']['my']['9']['title'] = '項目列表';
$lang->block->default['full']['my']['9']['block'] = 'project';
@@ -340,7 +355,8 @@ $lang->block->availableBlocks->testtask = '測試版本列表';
$lang->block->availableBlocks->risk = '我的風險';
$lang->block->availableBlocks->issue = '我的問題';
-$lang->block->moduleList['project'] = '項目';
+global $config;
+if($config->systemMode == 'new') $lang->block->moduleList['project'] = '項目';
$lang->block->moduleList['product'] = $lang->productCommon;
$lang->block->moduleList['execution'] = $lang->execution->common;
$lang->block->moduleList['qa'] = '測試';
@@ -351,7 +367,7 @@ $lang->block->modules['project']->availableBlocks = new stdclass();
$lang->block->modules['project']->availableBlocks->project = '項目列表';
$lang->block->modules['project']->availableBlocks->recentproject = '近期項目';
$lang->block->modules['project']->availableBlocks->statistic = '項目統計';
-$lang->block->modules['project']->availableBlocks->projectteam = '項目人力投入';
+if($config->systemMode == 'new') $lang->block->modules['project']->availableBlocks->projectteam = '項目人力投入';
$lang->block->modules['scrum']['index'] = new stdclass();
$lang->block->modules['scrum']['index']->availableBlocks = new stdclass();
@@ -518,11 +534,11 @@ $lang->block->modules['project']->moreLinkList->cmmireport = 'weekly|index|'
$lang->block->modules['project']->moreLinkList->cmmiestimate = 'workestimation|index|';
$lang->block->modules['project']->moreLinkList->cmmiissue = 'issue|browse|';
$lang->block->modules['project']->moreLinkList->cmmirisk = 'risk|browse|';
-$lang->block->modules['project']->moreLinkList->scrumlist = 'project|all|';
-$lang->block->modules['project']->moreLinkList->scrumtest = 'testtask|browse|';
+$lang->block->modules['project']->moreLinkList->scrumlist = 'project|execution|';
+$lang->block->modules['project']->moreLinkList->scrumtest = 'project|testtask|';
$lang->block->modules['project']->moreLinkList->scrumproduct = 'product|all|';
-$lang->block->modules['project']->moreLinkList->sprint = 'project|all|';
-$lang->block->modules['project']->moreLinkList->projectdynamic = 'company|dynamic|';
+$lang->block->modules['project']->moreLinkList->sprint = 'project|execution|';
+$lang->block->modules['project']->moreLinkList->projectdynamic = 'project|dynamic|';
$lang->block->modules['product']->moreLinkList = new stdclass();
$lang->block->modules['product']->moreLinkList->list = 'product|all|';
diff --git a/module/block/view/projectstatisticblock.html.php b/module/block/view/projectstatisticblock.html.php
index 31ff3874e9..37532e6a0d 100644
--- a/module/block/view/projectstatisticblock.html.php
+++ b/module/block/view/projectstatisticblock.html.php
@@ -22,7 +22,7 @@ html[lang="en"] .product-info .type-info {color: #A6AAB8; text-align: center; po
.block-statistic .tile {margin-bottom: 30px;}
.block-statistic .tile-title {font-size: 18px; color: #A6AAB8;}
.block-statistic .tile-amount {font-size: 48px; margin-bottom: 10px;}
-.block-statistic .col-nav {border-right: 1px solid #EBF2FB; width: 260px; padding: 0;}
+.block-statistic .col-nav {border-right: 1px solid #EBF2FB; width: 210px; padding: 0;}
.block-statistic .nav-secondary > li {position: relative;}
.block-statistic .nav-secondary > li > a {font-size: 14px; color: #838A9D; position: relative; box-shadow: none; padding-left: 20px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; transition: all .2s;}
.block-statistic .nav-secondary > li > a:first-child {padding-right: 36px;}
@@ -60,24 +60,32 @@ html[lang="en"] .product-info .type-info {color: #A6AAB8; text-align: center; po
.block-statistic .project-info .col-xs-5, .block-statistic .project-info .col-xs-7 {margin-top: 8px;}
.block-statistic .project-info .col-xs-5 {padding-left: 0;}
+.block-statistic .data {width: 40%; text-align: left; padding: 10px 0px; font-size: 14px; font-weight: 700;}
+.block-statistic .dataTitle {width: 60%; text-align: right; padding: 10px 0px; font-size: 14px;}
+.block-statistic .executionName {padding-top: 2px; font-size: 14px;}
+.block-statistic .lastIteration {padding-top: 6px;}
+.block-statistic .progress-text-left {margin-right: 90px}
+.block-statistic .progress-text-left .progress-text {padding-top: 2px; font-size: 14px;}
+
.status-count {margin: auto;}
.status-count tr:first-child td:last-child {color: #000; font-weight: bold;}
.block-statistic .project-info {margin-left: 3px;}
+.block-statistic .project-budget {white-space: nowrap;}
.block-statistic .progress-group {margin-top: 10px;}
.block-statistic .progress-group .col {padding-left: 0;}
-.block-statistic .progress-percent {top: 4px;}
+.block-statistic .progress-percent {margin-top: 4px;}
.block-statistic .weekly-title {font-weight: bold; color: #3C4253;}
.block-statistic .weekly-small {font-size:12px; color: #838A9D;}
.block-statistic .weekly-progress {font-weight: bold; font-size:24px;}
.block-statistic .weekly-name {font-size: 14px; color: #838A9D;}
.block-statistic .weekly-value {font-size: 14px;}
.block-statistic .col-12 .stage {margin-left: 10px;}
-.block-statistic .col-12 .waterfall-title {padding-top: 5px;}
+.block-statistic .col-12 .waterfall-title {padding-top: 3px;}
.block-statistic .col-12 .waterfall-value {padding-top: 10px; font-size: 18px; font-weight: 600;}
.block-statistic .col-12 .waterfall-title .col {padding-right: 0px; padding-left: 0px;}
-.twenty-percent {width: 20%;}
+.forty-percent {width: 40%;}