Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorvanadium23 <chernoffivan@gmail.com>2017-05-30 08:00:59 +0300
committerIvan Chernov <ivan.chernov@ostrovok.ru>2017-05-31 22:26:49 +0300
commit86caebaf528d5f54e8ff91da7a429260db07d5ea (patch)
tree1c16993490956152c765ac6e0506f0dedbdd141f /app
parentf06daa26efc127565e4e68ca9d4ac62e5a1e3b36 (diff)
Display Shared Runner status in Admin Dashboard
Diffstat (limited to 'app')
-rw-r--r--app/views/admin/dashboard/index.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/admin/dashboard/index.html.haml b/app/views/admin/dashboard/index.html.haml
index 53f0a1e7fde..3c9f932a225 100644
--- a/app/views/admin/dashboard/index.html.haml
+++ b/app/views/admin/dashboard/index.html.haml
@@ -79,6 +79,12 @@
= gitlab_pages
%span.light.pull-right
= boolean_to_icon gitlab_pages_enabled
+ - gitlab_shared_runners = 'Shared Runners'
+ - gitlab_shared_runners_enabled = Gitlab.config.gitlab_ci.shared_runners_enabled
+ %p{ "aria-label" => "#{gitlab_shared_runners}: status " + (gitlab_shared_runners_enabled ? "on" : "off") }
+ = gitlab_shared_runners
+ %span.light.pull-right
+ = boolean_to_icon gitlab_shared_runners_enabled
.col-md-4
%h4