From b3e0658cb1fbc7c8e7dd381467c656f2e675ee46 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 19 Sep 2019 09:06:27 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- app/views/groups/runners/_group_runners.html.haml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/views/groups') diff --git a/app/views/groups/runners/_group_runners.html.haml b/app/views/groups/runners/_group_runners.html.haml index fd40ec5a984..f752bc0a702 100644 --- a/app/views/groups/runners/_group_runners.html.haml +++ b/app/views/groups/runners/_group_runners.html.haml @@ -10,6 +10,10 @@ -# Proper policies should be implemented per -# https://gitlab.com/gitlab-org/gitlab-foss/issues/45894 - if can?(current_user, :admin_pipeline, @group) + = render partial: 'ci/runner/how_to_setup_runner_automatically', + locals: { type: 'group', + clusters_path: group_clusters_path(@group) } + %hr = render partial: 'ci/runner/how_to_setup_runner', locals: { registration_token: @group.runners_token, type: 'group', -- cgit v1.2.1