* code for task #70197.

This commit is contained in:
wangyidong
2022-09-27 14:25:44 +08:00
parent 99f910d366
commit 2d42ff9e55
5 changed files with 8 additions and 27 deletions
-19
View File
@@ -580,21 +580,12 @@ class project extends control
{
$this->lang->project->aclList = $this->lang->project->kanbanAclList;
$this->lang->project->subAclList = $this->lang->project->kanbanSubAclList;
$this->lang->project->multiple = $this->lang->project->kanban;
}
$sprintConcept = empty($this->config->custom->sprintConcept) ?
$this->config->executionCommonList[$this->app->getClientLang()][0] :
$this->config->executionCommonList[$this->app->getClientLang()][1];
$this->lang->project->noSprint = sprintf($this->lang->project->noSprint,$sprintConcept);
if(common::checkNotCN())
{
$this->lang->project->multiple = 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;
$this->view->gobackLink = (isset($output['from']) and $output['from'] == 'global') ? $this->createLink('project', 'browse') : '';
@@ -741,16 +732,6 @@ class project extends control
if($project->model != 'kanban') $canChangeModel = $this->project->checkCanChangeModel($projectID, $project->model);
if($project->model == 'kanban') $this->lang->project->multiple = $this->lang->project->kanban;
$this->lang->project->noSprint = sprintf($this->lang->project->noSprint,$sprintConcept);
if(common::checkNotCN())
{
$this->lang->project->multiple = 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;