diff --git a/module/build/lang/de.php b/module/build/lang/de.php index 2a28219b1b..da915fb5f5 100644 --- a/module/build/lang/de.php +++ b/module/build/lang/de.php @@ -10,6 +10,7 @@ * @link https://www.zentao.net */ $lang->build->common = "Build"; +$lang->build->browse = "Build List"; $lang->build->create = "Build erstellen"; $lang->build->edit = "Bearbeiten"; $lang->build->linkStory = "{$lang->SRCommon} verknüpfen"; diff --git a/module/build/lang/en.php b/module/build/lang/en.php index 87cdd16721..7029c0d180 100644 --- a/module/build/lang/en.php +++ b/module/build/lang/en.php @@ -10,6 +10,7 @@ * @link https://www.zentao.net */ $lang->build->common = "Build"; +$lang->build->browse = "Build List"; $lang->build->create = "Create Build"; $lang->build->edit = "Edit Build"; $lang->build->linkStory = "Link {$lang->SRCommon}"; diff --git a/module/build/lang/fr.php b/module/build/lang/fr.php index 85d2daf8d1..da7ea5afec 100644 --- a/module/build/lang/fr.php +++ b/module/build/lang/fr.php @@ -10,6 +10,7 @@ * @link https://www.zentao.net */ $lang->build->common = "Build"; +$lang->build->browse = "Liste Build"; $lang->build->create = "Créer Build"; $lang->build->edit = "Editer Build"; $lang->build->linkStory = "Intégrer {$lang->SRCommon}"; diff --git a/module/build/lang/zh-cn.php b/module/build/lang/zh-cn.php index 3130868d54..5c980b8b51 100644 --- a/module/build/lang/zh-cn.php +++ b/module/build/lang/zh-cn.php @@ -10,6 +10,7 @@ * @link https://www.zentao.net */ $lang->build->common = "构建"; +$lang->build->browse = "构建列表"; $lang->build->create = "创建构建"; $lang->build->edit = "编辑构建"; $lang->build->linkStory = "关联{$lang->SRCommon}"; diff --git a/module/datatable/model.php b/module/datatable/model.php index 47aad7a5e9..1178101782 100644 --- a/module/datatable/model.php +++ b/module/datatable/model.php @@ -446,20 +446,14 @@ class datatableModel extends model */ public function appendWorkflowFields(string $module, string $method): array { - if(in_array($module, array('epic', 'story', 'requirement'))) + if($module == 'build' && $method == 'build') { - $method = $module == 'story' ? 'browse' : $module; // 需求加载product-browse的layout配置。 - $module = 'product'; + $module = 'build'; + $method = 'browse'; // 版本加载build-browse的layout配置。 } - elseif($module == 'build') + elseif($module == 'task' && $method == 'task') { - $module = 'execution'; - $method = 'build'; // 版本加载execution-build的layout配置。 - } - elseif($module == 'task') - { - $module = 'execution'; - $method = 'task'; // 任务加载execution-task的layout配置。 + $method = 'browse'; // 任务加载task-browse的layout配置。 } elseif($module == 'bug' && $method == 'bug') { @@ -520,4 +514,4 @@ class datatableModel extends model return $this->loadModel('flow')->buildDtableCols($fields, [], [], isset($flow->buildin) && !$flow->buildin); } -} +} \ No newline at end of file diff --git a/module/story/lang/de.php b/module/story/lang/de.php index 4aae120834..715f1c7780 100644 --- a/module/story/lang/de.php +++ b/module/story/lang/de.php @@ -18,6 +18,7 @@ $lang->story->createStory = 'Create ' . $lang->story->story; $lang->story->createRequirement = 'Create ' . $lang->story->requirement; $lang->story->affectedStories = "Affected {$lang->story->story}"; +$lang->story->browse = "{$lang->SRCommon} List"; $lang->story->batchCreate = "Mehere hinzufügen"; $lang->story->change = "Ändern"; $lang->story->changed = 'Geändert'; diff --git a/module/story/lang/en.php b/module/story/lang/en.php index 58e543813c..58c8f29eec 100644 --- a/module/story/lang/en.php +++ b/module/story/lang/en.php @@ -18,6 +18,7 @@ $lang->story->createStory = 'Create ' . $lang->story->story; $lang->story->createRequirement = 'Create ' . $lang->story->requirement; $lang->story->affectedStories = "Affected {$lang->story->story}"; +$lang->story->browse = "{$lang->SRCommon} List"; $lang->story->batchCreate = "Batch Create"; $lang->story->change = "Change"; $lang->story->changed = 'Change'; diff --git a/module/story/lang/fr.php b/module/story/lang/fr.php index df707ddfde..664d5ad42b 100644 --- a/module/story/lang/fr.php +++ b/module/story/lang/fr.php @@ -18,6 +18,7 @@ $lang->story->createStory = 'Create ' . $lang->story->story; $lang->story->createRequirement = 'Create ' . $lang->story->requirement; $lang->story->affectedStories = "Affected {$lang->story->story}"; +$lang->story->browse = "{$lang->SRCommon} List"; $lang->story->batchCreate = "Créer par Lot"; $lang->story->change = "Changer"; $lang->story->changed = 'Changée'; diff --git a/module/story/lang/zh-cn.php b/module/story/lang/zh-cn.php index 3727d87cd6..753bb04682 100644 --- a/module/story/lang/zh-cn.php +++ b/module/story/lang/zh-cn.php @@ -18,6 +18,7 @@ $lang->story->createStory = '添加' . $lang->story->story; $lang->story->createRequirement = '添加' . $lang->story->requirement; $lang->story->affectedStories = "影响的{$lang->story->story}"; +$lang->story->browse = "{$lang->SRCommon}列表"; $lang->story->batchCreate = "批量创建"; $lang->story->change = "变更"; $lang->story->changed = "{$lang->SRCommon}变更"; diff --git a/module/task/lang/de.php b/module/task/lang/de.php index 8feeb4a82b..e544b33c78 100644 --- a/module/task/lang/de.php +++ b/module/task/lang/de.php @@ -10,6 +10,7 @@ * @link https://www.zentao.net */ $lang->task->index = "Index"; +$lang->task->browse = "Aufgabenliste"; $lang->task->create = "Aufgabe erstellen"; $lang->task->batchCreate = "Mehere erstellen"; $lang->task->batchCreateChildren = "Mehere Teilaufgaben"; diff --git a/module/task/lang/en.php b/module/task/lang/en.php index a9d6796b81..df27a2403d 100755 --- a/module/task/lang/en.php +++ b/module/task/lang/en.php @@ -10,6 +10,7 @@ * @link https://www.zentao.net */ $lang->task->index = "Home"; +$lang->task->browse = "Task List"; $lang->task->create = "Create Task"; $lang->task->batchCreate = "Batch Create"; $lang->task->batchCreateChildren = "Batch Create Child Tasks"; diff --git a/module/task/lang/fr.php b/module/task/lang/fr.php index a85ea8bcb5..f6909f442c 100644 --- a/module/task/lang/fr.php +++ b/module/task/lang/fr.php @@ -10,6 +10,7 @@ * @link https://www.zentao.net */ $lang->task->index = "Accueil"; +$lang->task->browse = "Liste des Tâches"; $lang->task->create = "Créer Tâche"; $lang->task->batchCreate = "Créer par Lots"; $lang->task->batchCreateChildren = "Créer sous-tâches par lots"; diff --git a/module/task/lang/zh-cn.php b/module/task/lang/zh-cn.php index 164a921461..26c167b100 100755 --- a/module/task/lang/zh-cn.php +++ b/module/task/lang/zh-cn.php @@ -10,6 +10,7 @@ * @link https://www.zentao.net */ $lang->task->index = "任务一览"; +$lang->task->browse = "任务列表"; $lang->task->create = "建任务"; $lang->task->batchCreate = "批量创建"; $lang->task->batchCreateChildren = "批量建子任务";