Merge branch '15.0.beta3' of https://gitlab.zcorp.cc/easycorp/zentaopms into 15.0.beta3
This commit is contained in:
@@ -210,13 +210,14 @@ $lang->project->list = 'Project List';
|
||||
|
||||
$lang->execution->list = "{$lang->executionCommon} List";
|
||||
|
||||
$lang->doc->recent = 'Recent';
|
||||
$lang->doc->my = 'My';
|
||||
$lang->doc->favorite = 'Favorite';
|
||||
$lang->doc->product = 'Product';
|
||||
$lang->doc->project = 'Project';
|
||||
$lang->doc->custom = 'Custom';
|
||||
$lang->doc->wiki = 'WIKI';
|
||||
$lang->doc->recent = 'Recent';
|
||||
$lang->doc->my = 'My';
|
||||
$lang->doc->favorite = 'Favorite';
|
||||
$lang->doc->product = 'Product';
|
||||
$lang->doc->project = 'Project';
|
||||
$lang->doc->execution = $lang->executionCommon;
|
||||
$lang->doc->custom = 'Custom';
|
||||
$lang->doc->wiki = 'WIKI';
|
||||
|
||||
$lang->product->list = $lang->productCommon . ' List';
|
||||
|
||||
|
||||
@@ -210,13 +210,14 @@ $lang->project->list = '項目列表';
|
||||
|
||||
$lang->execution->list = "{$lang->executionCommon}列表";
|
||||
|
||||
$lang->doc->recent = '最近文檔';
|
||||
$lang->doc->my = '我的文檔';
|
||||
$lang->doc->favorite = '我的收藏';
|
||||
$lang->doc->product = '產品庫';
|
||||
$lang->doc->project = '項目庫';
|
||||
$lang->doc->custom = '自定義庫';
|
||||
$lang->doc->wiki = 'WIKI';
|
||||
$lang->doc->recent = '最近文檔';
|
||||
$lang->doc->my = '我的文檔';
|
||||
$lang->doc->favorite = '我的收藏';
|
||||
$lang->doc->product = '產品庫';
|
||||
$lang->doc->project = '項目庫';
|
||||
$lang->doc->execution = "{$lang->executionCommon}庫";
|
||||
$lang->doc->custom = '自定義庫';
|
||||
$lang->doc->wiki = 'WIKI';
|
||||
|
||||
$lang->product->list = $lang->productCommon . '列表';
|
||||
|
||||
|
||||
@@ -622,6 +622,7 @@ class doc extends control
|
||||
{
|
||||
$doc = $this->doc->getByID($docID);
|
||||
$objectType = $this->dao->select('type')->from(TABLE_DOCLIB)->where('id')->eq($doc->lib)->fetch('type');
|
||||
if($this->config->systemMode == 'classic' and $objectType == 'project') $objectType = 'execution';
|
||||
$this->doc->delete(TABLE_DOC, $docID);
|
||||
|
||||
/* if ajax request, send result. */
|
||||
|
||||
@@ -74,6 +74,7 @@ function changeByLibType(libType)
|
||||
var acl = $('form [name=acl]').val();
|
||||
var notice = typeof(noticeAcl[libType][acl]) != 'undefined' ? noticeAcl[libType][acl] : '';
|
||||
$('#noticeAcl').html(notice);
|
||||
$('#whiteListBox').addClass('hidden');
|
||||
}
|
||||
|
||||
function changeDoclibAcl(libType)
|
||||
|
||||
@@ -105,12 +105,13 @@ $lang->doc->fixedMenu = 'Fix to Menu';
|
||||
$lang->doc->removeMenu = 'Remove from Menu';
|
||||
$lang->doc->search = 'Search';
|
||||
|
||||
global $config;
|
||||
/* Query condition list. */
|
||||
$lang->doc->allProduct = 'All' . $lang->productCommon . 's';
|
||||
$lang->doc->allExecutions = 'All' . $lang->executionCommon . 's';
|
||||
|
||||
$lang->doc->libTypeList['product'] = $lang->productCommon . ' Library';
|
||||
$lang->doc->libTypeList['project'] = 'Project Library';
|
||||
if($config->systemMode == 'new') $lang->doc->libTypeList['project'] = 'Project Library';
|
||||
$lang->doc->libTypeList['execution'] = $lang->executionCommon . ' Library';
|
||||
$lang->doc->libTypeList['custom'] = 'Custom Library';
|
||||
|
||||
|
||||
@@ -105,12 +105,13 @@ $lang->doc->fixedMenu = '固定到菜单栏';
|
||||
$lang->doc->removeMenu = '从菜单栏移除';
|
||||
$lang->doc->search = '搜索';
|
||||
|
||||
global $config;
|
||||
/* 查询条件列表 */
|
||||
$lang->doc->allProduct = '所有' . $lang->productCommon;
|
||||
$lang->doc->allExecutions = '所有' . $lang->executionCommon;
|
||||
|
||||
$lang->doc->libTypeList['product'] = $lang->productCommon . '文档库';
|
||||
$lang->doc->libTypeList['project'] = '项目文档库';
|
||||
if($config->systemMode == 'new') $lang->doc->libTypeList['project'] = '项目文档库';
|
||||
$lang->doc->libTypeList['execution'] = $lang->executionCommon . '文档库';
|
||||
$lang->doc->libTypeList['custom'] = '自定义文档库';
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ $lang->doc->product = '所屬' . $lang->productCommon;
|
||||
$lang->doc->project = '所屬項目';
|
||||
$lang->doc->execution = '所屬' . $lang->executionCommon;
|
||||
$lang->doc->lib = '所屬文檔庫';
|
||||
$lang->doc->module = '所屬分類';
|
||||
$lang->doc->module = '所屬目錄';
|
||||
$lang->doc->title = '文檔標題';
|
||||
$lang->doc->digest = '文檔摘要';
|
||||
$lang->doc->comment = '文檔備註';
|
||||
@@ -83,7 +83,8 @@ $lang->doc->editBook = '編輯手冊';
|
||||
$lang->doc->editType = '編輯目錄';
|
||||
$lang->doc->deleteType = '刪除目錄';
|
||||
$lang->doc->addType = '增加目錄';
|
||||
$lang->doc->childType = '子分類';
|
||||
$lang->doc->childType = '子目錄';
|
||||
$lang->doc->catalogName = '目錄名稱';
|
||||
$lang->doc->collect = '收藏';
|
||||
$lang->doc->cancelCollection = '取消收藏';
|
||||
$lang->doc->deleteFile = '刪除附件';
|
||||
@@ -187,13 +188,15 @@ $lang->doc->noOpenedDoc = '您還沒有創建任何文檔。';
|
||||
$lang->doc->noCollectedDoc = '您還沒有收藏任何文檔。';
|
||||
$lang->doc->errorEmptyLib = '文檔庫暫無數據。';
|
||||
|
||||
$lang->doc->noticeAcl['lib']['product']['default'] = '有所選產品訪問權限的用戶可以訪問。';
|
||||
$lang->doc->noticeAcl['lib']['product']['custom'] = '有所選產品訪問權限或白名單裡的用戶可以訪問。';
|
||||
$lang->doc->noticeAcl['lib']['project']['default'] = "有所選項目訪問權限的用戶可以訪問。";
|
||||
$lang->doc->noticeAcl['lib']['project']['custom'] = "有所選項目訪問權限或白名單裡的用戶可以訪問。";
|
||||
$lang->doc->noticeAcl['lib']['custom']['open'] = '所有人都可以訪問。';
|
||||
$lang->doc->noticeAcl['lib']['custom']['custom'] = '白名單的用戶可以訪問。';
|
||||
$lang->doc->noticeAcl['lib']['custom']['private'] = '只有創建者自己可以訪問。';
|
||||
$lang->doc->noticeAcl['lib']['product']['default'] = '有所選產品訪問權限的用戶可以訪問。';
|
||||
$lang->doc->noticeAcl['lib']['product']['custom'] = '有所選產品訪問權限或白名單裡的用戶可以訪問。';
|
||||
$lang->doc->noticeAcl['lib']['project']['default'] = "有所選項目訪問權限的用戶可以訪問。";
|
||||
$lang->doc->noticeAcl['lib']['project']['custom'] = "有所選項目訪問權限或白名單裡的用戶可以訪問。";
|
||||
$lang->doc->noticeAcl['lib']['execution']['default'] = "有所選{$lang->executionCommon}訪問權限的用戶可以訪問。";
|
||||
$lang->doc->noticeAcl['lib']['execution']['custom'] = "有所選{$lang->executionCommon}訪問權限或白名單裡的用戶可以訪問。";
|
||||
$lang->doc->noticeAcl['lib']['custom']['open'] = '所有人都可以訪問。';
|
||||
$lang->doc->noticeAcl['lib']['custom']['custom'] = '白名單的用戶可以訪問。';
|
||||
$lang->doc->noticeAcl['lib']['custom']['private'] = '只有創建者自己可以訪問。';
|
||||
|
||||
$lang->doc->noticeAcl['doc']['open'] = '有文檔所屬文檔庫訪問權限的,都可以訪問。';
|
||||
$lang->doc->noticeAcl['doc']['custom'] = '白名單的用戶可以訪問。';
|
||||
|
||||
@@ -1287,6 +1287,11 @@ class execution extends control
|
||||
|
||||
$this->executeHooks($executionID);
|
||||
|
||||
if($this->app->openApp == 'doc')
|
||||
{
|
||||
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $this->createLink('doc', 'objectLibs', "type=execution")));
|
||||
}
|
||||
|
||||
$planID = '';
|
||||
if(isset($_POST['plans']))
|
||||
{
|
||||
|
||||
@@ -11,15 +11,15 @@
|
||||
*/
|
||||
/* 欄位列表。*/
|
||||
$lang->execution->allExecutions = '所有' . $lang->executionCommon;
|
||||
$lang->execution->allExecutionAB = '所有執行';
|
||||
$lang->execution->allExecutionAB = "所有{$lang->execution->common}";
|
||||
$lang->execution->id = $lang->executionCommon . '編號';
|
||||
$lang->execution->type = $lang->executionCommon . '類型';
|
||||
$lang->execution->name = $lang->executionCommon . '名稱';
|
||||
$lang->execution->code = $lang->executionCommon . '代號';
|
||||
$lang->execution->project = '所屬項目';
|
||||
$lang->execution->execName = '執行名稱';
|
||||
$lang->execution->execCode = '執行代號';
|
||||
$lang->execution->execType = '執行類型';
|
||||
$lang->execution->execName = "{$lang->execution->common}名稱";
|
||||
$lang->execution->execCode = "{$lang->execution->common}代號";
|
||||
$lang->execution->execType = "{$lang->execution->common}類型";
|
||||
$lang->execution->stage = '階段';
|
||||
$lang->execution->pri = '優先順序';
|
||||
$lang->execution->openedBy = '由誰創建';
|
||||
@@ -39,14 +39,14 @@ $lang->execution->workHourUnit = 'h';
|
||||
$lang->execution->totalHours = '可用工時';
|
||||
$lang->execution->totalDays = '可用工日';
|
||||
$lang->execution->status = $lang->executionCommon . '狀態';
|
||||
$lang->execution->execStatus = '執行狀態';
|
||||
$lang->execution->execStatus = "{$lang->execution->common}狀態";
|
||||
$lang->execution->subStatus = '子狀態';
|
||||
$lang->execution->desc = $lang->executionCommon . '描述';
|
||||
$lang->execution->execDesc = '執行描述';
|
||||
$lang->execution->execDesc = "{$lang->execution->common}描述";
|
||||
$lang->execution->owner = '負責人';
|
||||
$lang->execution->PO = $lang->productCommon . '負責人';
|
||||
$lang->execution->PM = $lang->executionCommon . '負責人';
|
||||
$lang->execution->execPM = '執行負責人';
|
||||
$lang->execution->execPM = "{$lang->execution->common}負責人";
|
||||
$lang->execution->QD = '測試負責人';
|
||||
$lang->execution->RD = '發佈負責人';
|
||||
$lang->execution->release = '發佈';
|
||||
@@ -149,7 +149,7 @@ $lang->execution->burnByList['estimate'] = "按計劃工時查看";
|
||||
$lang->execution->burnByList['storyPoint'] = '按故事點查看';
|
||||
|
||||
/* 方法列表。*/
|
||||
$lang->execution->index = "執行主頁";
|
||||
$lang->execution->index = "{$lang->execution->common}主頁";
|
||||
$lang->execution->task = '任務列表';
|
||||
$lang->execution->groupTask = '分組瀏覽任務';
|
||||
$lang->execution->story = "{$lang->SRCommon}列表";
|
||||
@@ -174,29 +174,29 @@ $lang->execution->linkPlan = "關聯計劃";
|
||||
$lang->execution->unlinkStoryTasks = "未關聯{$lang->SRCommon}任務";
|
||||
$lang->execution->linkedProducts = '已關聯';
|
||||
$lang->execution->unlinkedProducts = '未關聯';
|
||||
$lang->execution->view = "執行概況";
|
||||
$lang->execution->startAction = "開始執行";
|
||||
$lang->execution->activateAction = "激活執行";
|
||||
$lang->execution->delayAction = "延期執行";
|
||||
$lang->execution->suspendAction = "掛起執行";
|
||||
$lang->execution->closeAction = "關閉執行";
|
||||
$lang->execution->testtaskAction = "執行測試單";
|
||||
$lang->execution->teamAction = "執行團隊";
|
||||
$lang->execution->kanbanAction = "執行看板";
|
||||
$lang->execution->view = "{$lang->execution->common}概況";
|
||||
$lang->execution->startAction = "開始{$lang->execution->common}";
|
||||
$lang->execution->activateAction = "激活{$lang->execution->common}";
|
||||
$lang->execution->delayAction = "延期{$lang->execution->common}";
|
||||
$lang->execution->suspendAction = "掛起{$lang->execution->common}";
|
||||
$lang->execution->closeAction = "關閉{$lang->execution->common}";
|
||||
$lang->execution->testtaskAction = "{$lang->execution->common}測試單";
|
||||
$lang->execution->teamAction = "{$lang->execution->common}團隊";
|
||||
$lang->execution->kanbanAction = "{$lang->execution->common}看板";
|
||||
$lang->execution->printKanbanAction = "打印看板";
|
||||
$lang->execution->treeAction = "執行樹狀圖";
|
||||
$lang->execution->exportAction = "導出執行";
|
||||
$lang->execution->treeAction = "{$lang->execution->common}樹狀圖";
|
||||
$lang->execution->exportAction = "導出{$lang->execution->common}";
|
||||
$lang->execution->computeBurnAction = "計算燃盡圖";
|
||||
$lang->execution->create = "添加{$lang->executionCommon}";
|
||||
$lang->execution->createExec = "添加執行";
|
||||
$lang->execution->copyExec = "複製執行";
|
||||
$lang->execution->createExec = "添加{$lang->execution->common}";
|
||||
$lang->execution->copyExec = "複製{$lang->execution->common}";
|
||||
$lang->execution->copy = "複製{$lang->executionCommon}";
|
||||
$lang->execution->delete = "刪除{$lang->executionCommon}";
|
||||
$lang->execution->deleteAB = "刪除執行";
|
||||
$lang->execution->browse = "瀏覽執行";
|
||||
$lang->execution->deleteAB = "刪除{$lang->execution->common}";
|
||||
$lang->execution->browse = "瀏覽{$lang->execution->common}";
|
||||
$lang->execution->list = "{$lang->executionCommon}列表";
|
||||
$lang->execution->edit = "編輯{$lang->executionCommon}";
|
||||
$lang->execution->editAction = "編輯執行";
|
||||
$lang->execution->editAction = "編輯{$lang->execution->common}";
|
||||
$lang->execution->batchEdit = "編輯";
|
||||
$lang->execution->batchEditAction = "批量編輯";
|
||||
$lang->execution->manageMembers = '團隊管理';
|
||||
@@ -259,7 +259,7 @@ $lang->execution->aboveAllExecution = "以上所有{$lang->executionCommon}";
|
||||
|
||||
/* 頁面提示。*/
|
||||
$lang->execution->linkStoryByPlanTips = "此操作會將所選計划下面的{$lang->SRCommon}全部關聯到此{$lang->executionCommon}中";
|
||||
$lang->execution->selectExecution = "請選擇執行";
|
||||
$lang->execution->selectExecution = "請選擇{$lang->execution->common}";
|
||||
$lang->execution->beginAndEnd = '起止時間';
|
||||
$lang->execution->lblStats = '工時統計';
|
||||
$lang->execution->stats = '可用工時 <strong>%s</strong> 工時,總共預計 <strong>%s</strong> 工時,已經消耗 <strong>%s</strong> 工時,預計剩餘 <strong>%s</strong> 工時';
|
||||
@@ -294,7 +294,7 @@ $lang->execution->noExecution = "暫時沒有{$lang->executionCommon}。
|
||||
$lang->execution->noMembers = '暫時沒有團隊成員。';
|
||||
$lang->execution->workloadTotal = "工作量占比累計不應當超過100, 當前產品下的工作量之和為%s";
|
||||
// $lang->execution->linkProjectStoryTip = "(關聯{$lang->SRCommon}來源於項目下所關聯的{$lang->SRCommon})";
|
||||
$lang->execution->linkAllStoryTip = "(項目下還未關聯{$lang->SRCommon},可直接關聯該執行所關聯產品的{$lang->SRCommon})";
|
||||
$lang->execution->linkAllStoryTip = "(項目下還未關聯{$lang->SRCommon},可直接關聯該{$lang->execution->common}所關聯產品的{$lang->SRCommon})";
|
||||
|
||||
/* 交互提示。*/
|
||||
$lang->execution->confirmDelete = "您確定刪除{$lang->executionCommon}[%s]嗎?";
|
||||
|
||||
@@ -278,6 +278,7 @@ class executionModel extends model
|
||||
*/
|
||||
public function create($copyExecutionID = '')
|
||||
{
|
||||
$sprintType = 'sprint';
|
||||
$this->lang->execution->team = $this->lang->execution->teamname;
|
||||
|
||||
if($this->config->systemMode == 'new')
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
?>
|
||||
<?php if(isset($tips)):?>
|
||||
<?php $defaultURL = $config->systemMode == 'new' ? $this->createLink('project', 'execution', "status=all&projectID=$projectID") : $this-> createLink('execution', 'task', 'executionID=' . $executionID);?>
|
||||
<?php $defaultURL = $config->systemMode == 'new' ? $this->createLink('project', 'execution', "status=all&projectID=$projectID") : $this->createLink('execution', 'task', 'executionID=' . $executionID);?>
|
||||
<?php include '../../common/view/header.lite.html.php';?>
|
||||
<body>
|
||||
<div class='modal-dialog mw-500px' id='tipsModal'>
|
||||
|
||||
@@ -84,6 +84,8 @@ $lang->misc->feature = new stdclass();
|
||||
$lang->misc->feature->lastest = '最新版本';
|
||||
$lang->misc->feature->detailed = '詳情';
|
||||
|
||||
$lang->misc->releaseDate['15.0.rc2'] = '2021-04-09';
|
||||
$lang->misc->releaseDate['15.0.rc1'] = '2021-04-05';
|
||||
$lang->misc->releaseDate['12.5.3'] = '2021-01-06';
|
||||
$lang->misc->releaseDate['12.5.2'] = '2020-12-18';
|
||||
$lang->misc->releaseDate['12.5.1'] = '2020-11-30';
|
||||
@@ -138,6 +140,8 @@ $lang->misc->releaseDate['7.2.stable'] = '2015-05-22';
|
||||
$lang->misc->releaseDate['7.1.stable'] = '2015-03-07';
|
||||
$lang->misc->releaseDate['6.3.stable'] = '2014-11-07';
|
||||
|
||||
$lang->misc->feature->all['15.0.rc2'][] = array('title' => '修復Bug,優化界面交互', 'desc' => '');
|
||||
$lang->misc->feature->all['15.0.rc1'][] = array('title' => '升級到15版本,重構導航、文檔庫,增加項目集管理', 'desc' => '');
|
||||
$lang->misc->feature->all['12.5.3'][] = array('title' => '優化年度總結', 'desc' => '');
|
||||
$lang->misc->feature->all['12.5.2'][] = array('title' => '修復Bug', 'desc' => '');
|
||||
$lang->misc->feature->all['12.5.1'][] = array('title' => '修復漏洞。', 'desc' => '');
|
||||
|
||||
@@ -52,7 +52,7 @@ $lang->my->myExecutions = "我參與的階段/衝刺/迭代";
|
||||
$lang->my->name = '名稱';
|
||||
$lang->my->code = '代號';
|
||||
$lang->my->projects = '所屬項目';
|
||||
$lang->my->executions = '所屬執行';
|
||||
$lang->my->executions = "所屬{$lang->executionCommon}";
|
||||
|
||||
$lang->my->executionMenu = new stdclass();
|
||||
$lang->my->executionMenu->undone = '未結束';
|
||||
|
||||
@@ -149,7 +149,7 @@ if($config->systemMode == 'new')
|
||||
}
|
||||
else
|
||||
{
|
||||
$lang->product->aclList['private'] = "私有({$lang->productCommon}相關負責人可訪問)";
|
||||
$lang->product->aclList['private'] = "私有({$lang->productCommon}相關負責人、相關聯{$lang->executionCommon}的團隊成員可訪問)";
|
||||
}
|
||||
$lang->product->aclList['open'] = "公開(有{$lang->productCommon}視圖權限,即可訪問)";
|
||||
//$lang->product->aclList['custom'] = '自定義白名單(團隊成員和白名單的成員可以訪問)';
|
||||
|
||||
@@ -55,7 +55,7 @@ $lang->task->allModule = '所有模組';
|
||||
|
||||
$lang->task->common = '任務';
|
||||
$lang->task->id = '編號';
|
||||
$lang->task->project = '所屬執行';
|
||||
$lang->task->project = '所屬項目';
|
||||
$lang->task->execution = '所屬' . $lang->execution->common;
|
||||
$lang->task->module = '所屬模組';
|
||||
$lang->task->moduleAB = '模組';
|
||||
|
||||
@@ -12,6 +12,8 @@ $config->productLink = '-';
|
||||
$config->projectLink = '-';
|
||||
$config->executionLink = '-';
|
||||
$config->systemMode = 'new';
|
||||
$config->URAndSR = true;
|
||||
$config->systemScore = true;
|
||||
|
||||
/* set module root path and included the resource of group module. */
|
||||
$moduleRoot = '../module/';
|
||||
|
||||
Reference in New Issue
Block a user