diff --git a/module/project/control.php b/module/project/control.php index ef03b12551..824b7d8120 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -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;