summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2018-03-01 02:04:53 +0900
committerTakuya Noguchi <takninnovationresearch@gmail.com>2018-03-14 20:51:40 +0900
commit06d1390c0877d9309f09e4bf2292eae6d322a588 (patch)
tree2e8f0edb0f689b45febd83b8c1254696ea1bf6fc
parent65348cf07bafef5efc1c9665d3efdb5a1bdd7128 (diff)
downloadgitlab-ce-06d1390c0877d9309f09e4bf2292eae6d322a588.tar.gz
Set breadcrumb for admin/runners/show
-rw-r--r--app/views/admin/runners/show.html.haml4
-rw-r--r--changelogs/unreleased/43717-breadcrumb-on-admin-runner-page.yml5
2 files changed, 9 insertions, 0 deletions
diff --git a/app/views/admin/runners/show.html.haml b/app/views/admin/runners/show.html.haml
index 6d8fad0eb8d..14facedeaa9 100644
--- a/app/views/admin/runners/show.html.haml
+++ b/app/views/admin/runners/show.html.haml
@@ -9,6 +9,10 @@
%span.runner-state.runner-state-specific
Specific
+- add_to_breadcrumbs _("Runners"), admin_runners_path
+- breadcrumb_title "##{@runner.id}"
+- @no_container = true
+
- if @runner.shared?
.bs-callout.bs-callout-success
%h4 This Runner will process jobs from ALL UNASSIGNED projects
diff --git a/changelogs/unreleased/43717-breadcrumb-on-admin-runner-page.yml b/changelogs/unreleased/43717-breadcrumb-on-admin-runner-page.yml
new file mode 100644
index 00000000000..3aec71d5ac4
--- /dev/null
+++ b/changelogs/unreleased/43717-breadcrumb-on-admin-runner-page.yml
@@ -0,0 +1,5 @@
+---
+title: Set breadcrumb for admin/runners/show
+merge_request: 17431
+author: Takuya Noguchi
+type: fixed