summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2018-03-14 12:50:01 +0000
committerSean McGivern <sean@mcgivern.me.uk>2018-03-14 12:50:01 +0000
commit82b6222022c496290066fbdd6c3c2490bd23622c (patch)
treef7454e2ee019dbaefa3b2c84161c8df0fa23b4df
parent8467a796a79e091278999d804c12a8c7e82be3bc (diff)
parent06d1390c0877d9309f09e4bf2292eae6d322a588 (diff)
downloadgitlab-ce-82b6222022c496290066fbdd6c3c2490bd23622c.tar.gz
Merge branch '43717-breadcrumb-on-admin-runner-page' into 'master'
Breadcrumb on Admin Runner page Closes #43717 See merge request gitlab-org/gitlab-ce!17431
-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 185e9d7b35d..37269862de6 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