This commit is contained in:
lanzongjun
2022-09-22 15:24:24 +08:00
parent 52fdb68caa
commit 4c7fe09c1e
+17
View File
@@ -580,6 +580,14 @@ class project extends control
{
$this->lang->project->aclList = $this->lang->project->kanbanAclList;
$this->lang->project->subAclList = $this->lang->project->kanbanSubAclList;
$this->lang->project->noSprint = $this->lang->project->kanban;
}
if($model == 'scrum')
{
$this->lang->project->noSprint = empty($this->config->custom->sprintConcept) ?
$this->config->executionCommonList[$this->app->getClientLang()][0] :
$this->config->executionCommonList[$this->app->getClientLang()][1];
}
$this->view->title = $this->lang->project->create;
@@ -728,6 +736,15 @@ class project extends control
if($project->model != 'kanban') $canChangeModel = $this->project->checkCanChangeModel($projectID, $project->model);
if($project->model == 'kanban') $this->lang->project->noSprint = $this->lang->project->kanban;
if($project->model == 'scrum')
{
$this->lang->project->noSprint = empty($this->config->custom->sprintConcept) ?
$this->config->executionCommonList[$this->app->getClientLang()][0] :
$this->config->executionCommonList[$this->app->getClientLang()][1];
}
$this->view->title = $this->lang->project->edit;
$this->view->position[] = $this->lang->project->edit;