summaryrefslogtreecommitdiff
path: root/app/views/projects/runners
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-05-22 22:51:36 +0900
committerShinya Maeda <shinya@gitlab.com>2017-07-20 15:04:52 +0900
commit3f66d3bd63a187abd90f2e640d8f50e8d4d7422c (patch)
tree4de4b0472fc0ce151dada40ada4ab0a4f536f735 /app/views/projects/runners
parent1540cc434b66e32f723fff5de3fbc2f7e9480e0b (diff)
downloadgitlab-ce-3f66d3bd63a187abd90f2e640d8f50e8d4d7422c.tar.gz
Add coordinator url to admin area runner page
Use partial and shring same UI Swap two. Like the project runner section. Fix tests
Diffstat (limited to 'app/views/projects/runners')
-rw-r--r--app/views/projects/runners/_specific_runners.html.haml17
1 files changed, 1 insertions, 16 deletions
diff --git a/app/views/projects/runners/_specific_runners.html.haml b/app/views/projects/runners/_specific_runners.html.haml
index f8835454140..a8ef3c73e4f 100644
--- a/app/views/projects/runners/_specific_runners.html.haml
+++ b/app/views/projects/runners/_specific_runners.html.haml
@@ -1,21 +1,6 @@
%h3 Specific Runners
-.bs-callout.help-callout
- %h4 How to setup a specific Runner for a new project
-
- %ol
- %li
- Install a Runner compatible with GitLab CI
- (checkout the #{link_to 'GitLab Runner section', 'https://about.gitlab.com/gitlab-ci/#gitlab-runner', target: '_blank'} for information on how to install it).
- %li
- Specify the following URL during the Runner setup:
- %code= root_url(only_path: false)
- %li
- Use the following registration token during setup:
- %code= @project.runners_token
- %li
- Start the Runner!
-
+= render partial: 'ci/runner/how_to_setup_runner', locals: {registration_token: @project.runners_token, type: 'specific'}
- if @project_runners.any?
%h4.underlined-title Runners activated for this project