diff --git a/module/compile/view/browse.html.php b/module/compile/view/browse.html.php
index 28af0b3337..e04439c77f 100644
--- a/module/compile/view/browse.html.php
+++ b/module/compile/view/browse.html.php
@@ -14,8 +14,12 @@
createLink('job', 'browse', "repoID=$repoID"), "{$lang->ci->list}", '', "class='btn btn-link'");
- echo html::a($this->createLink('compile', 'browse', "repoID=$repoID&jobID=$jobID"), "" . ($jobID ? $job->name : '') . " {$lang->ci->history}", '', "class='btn btn-link btn-active-text'");
+ $menus = customModel::getFeatureMenu('job', 'browse');
+ foreach($menus as $menuItem)
+ {
+ $active = $menuItem->name == 'compile' ? 'btn-active-text' : '';
+ echo html::a($this->createLink($menuItem->name, 'browse', "repoID=$repoID"), "{$menuItem->text}", '', "class='btn btn-link $active'");
+ }
?>
diff --git a/module/job/lang/de.php b/module/job/lang/de.php
index 78072999ed..5fd9c49559 100644
--- a/module/job/lang/de.php
+++ b/module/job/lang/de.php
@@ -100,3 +100,6 @@ $lang->job->pipelineVariables = "Variables";
$lang->job->pipelineVariablesKeyPlaceHolder = "Input variable key";
$lang->job->pipelineVariablesValuePlaceHolder = "Input variable value";
$lang->job->pipelineVariablesTips = "Specify variable values to be used in this run. The values specified in CI/CD settings will be used by default.";
+
+$lang->job->featureBar['browse']['job'] = 'List';
+$lang->job->featureBar['browse']['compile'] = 'History';
diff --git a/module/job/lang/en.php b/module/job/lang/en.php
index bec5a4a940..0356380338 100644
--- a/module/job/lang/en.php
+++ b/module/job/lang/en.php
@@ -100,3 +100,6 @@ $lang->job->pipelineVariables = "Variables";
$lang->job->pipelineVariablesKeyPlaceHolder = "Input variable key";
$lang->job->pipelineVariablesValuePlaceHolder = "Input variable value";
$lang->job->pipelineVariablesTips = "Specify variable values to be used in this run. The values specified in CI/CD settings will be used by default.";
+
+$lang->job->featureBar['browse']['job'] = 'List';
+$lang->job->featureBar['browse']['compile'] = 'History';
diff --git a/module/job/lang/fr.php b/module/job/lang/fr.php
index 5bc3abe9b0..09f6f216bf 100644
--- a/module/job/lang/fr.php
+++ b/module/job/lang/fr.php
@@ -100,3 +100,6 @@ $lang->job->pipelineVariables = "Variables";
$lang->job->pipelineVariablesKeyPlaceHolder = "Input variable key";
$lang->job->pipelineVariablesValuePlaceHolder = "Input variable value";
$lang->job->pipelineVariablesTips = "Specify variable values to be used in this run. The values specified in CI/CD settings will be used by default.";
+
+$lang->job->featureBar['browse']['job'] = 'List';
+$lang->job->featureBar['browse']['compile'] = 'History';
diff --git a/module/job/lang/zh-cn.php b/module/job/lang/zh-cn.php
index 7c53b987e8..f10093ea5b 100644
--- a/module/job/lang/zh-cn.php
+++ b/module/job/lang/zh-cn.php
@@ -101,3 +101,6 @@ $lang->job->pipelineVariablesKeyPlaceHolder = "输入变量的名称";
$lang->job->pipelineVariablesValuePlaceHolder = "输入变量的值";
$lang->job->pipelineVariablesTips = "指定要在此次运行中使用的变量值。CI/CD设置中指定的值将用作默认值。";
$lang->job->setReferenceTips = "在执行构建前,请先设置代码库的分支信息。";
+
+$lang->job->featureBar['browse']['job'] = '列表';
+$lang->job->featureBar['browse']['compile'] = '构建历史';
diff --git a/module/job/view/browse.html.php b/module/job/view/browse.html.php
index 6d7c8d4c2d..f430b00f49 100644
--- a/module/job/view/browse.html.php
+++ b/module/job/view/browse.html.php
@@ -13,8 +13,14 @@
- createLink('job', 'browse', "repoID=$repoID"), "{$lang->ci->list}", '', "class='btn btn-link btn-active-text'");?>
- createLink('compile', 'browse', "repoID=$repoID"), "{$lang->ci->history}", '', "class='btn btn-link'");?>
+ name == 'job' ? 'btn-active-text' : '';
+ echo html::a($this->createLink($menuItem->name, 'browse', "repoID=$repoID"), "{$menuItem->text}", '', "class='btn btn-link $active'");
+ }
+ ?>
" . $lang->job->create, '', "class='btn btn-primary'");?>