diff options
author | Alexis Reigel <alexis.reigel.ext@siemens.com> | 2017-10-04 14:59:51 +0300 |
---|---|---|
committer | Alexis Reigel <alexis.reigel.ext@siemens.com> | 2018-04-23 10:21:47 +0300 |
commit | 4ccf734e380d498a2322153c9a4fa09a38447094 (patch) | |
tree | 8f88ec36cd788160f79f0ec6b830ee4165ced5ba /app/views/projects/runners/_runner.html.haml | |
parent | eba1a05f153335cb41bbf9396c7e88336a6b6be5 (diff) |
show group runners on runners page
Diffstat (limited to 'app/views/projects/runners/_runner.html.haml')
-rw-r--r-- | app/views/projects/runners/_runner.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/runners/_runner.html.haml b/app/views/projects/runners/_runner.html.haml index 6376496ee1a..6d61da40f5b 100644 --- a/app/views/projects/runners/_runner.html.haml +++ b/app/views/projects/runners/_runner.html.haml @@ -26,7 +26,7 @@ - else - runner_project = @project.runner_projects.find_by(runner_id: runner) = link_to 'Disable for this project', project_runner_project_path(@project, runner_project), data: { confirm: "Are you sure?" }, method: :delete, class: 'btn btn-danger btn-sm' - - elsif runner.specific? + - elsif runner.project? = form_for [@project.namespace.becomes(Namespace), @project, @project.runner_projects.new] do |f| = f.hidden_field :runner_id, value: runner.id = f.submit 'Enable for this project', class: 'btn btn-sm' |