diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2018-02-14 10:16:04 +0100 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2018-02-14 19:57:07 +0100 |
commit | 05f66d1342db228c1a659b4c58e15c890b522261 (patch) | |
tree | b0c1854274aec87df4cd2d72d70a280d06f88e78 /app/views/admin/jobs | |
parent | dd633bc1888453a07474d045eca91a9e66302ce0 (diff) | |
download | gitlab-ce-05f66d1342db228c1a659b4c58e15c890b522261.tar.gz |
Add new modal Vue componentwinh-new-modal-component
Diffstat (limited to 'app/views/admin/jobs')
-rw-r--r-- | app/views/admin/jobs/index.html.haml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/views/admin/jobs/index.html.haml b/app/views/admin/jobs/index.html.haml index a01676d82a8..4e3e2f7a475 100644 --- a/app/views/admin/jobs/index.html.haml +++ b/app/views/admin/jobs/index.html.haml @@ -7,10 +7,9 @@ - build_path_proc = ->(scope) { admin_jobs_path(scope: scope) } = render "shared/builds/tabs", build_path_proc: build_path_proc, all_builds: @all_builds, scope: @scope - .nav-controls - - if @all_builds.running_or_pending.any? - #stop-jobs-modal - + - if @all_builds.running_or_pending.any? + #stop-jobs-modal + .nav-controls %button#stop-jobs-button.btn.btn-danger{ data: { toggle: 'modal', target: '#stop-jobs-modal', url: cancel_all_admin_jobs_path } } |