summaryrefslogtreecommitdiff
path: root/app/views/admin/jobs
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2018-02-14 10:16:04 +0100
committerWinnie Hellmann <winnie@gitlab.com>2018-02-14 19:57:07 +0100
commit05f66d1342db228c1a659b4c58e15c890b522261 (patch)
treeb0c1854274aec87df4cd2d72d70a280d06f88e78 /app/views/admin/jobs
parentdd633bc1888453a07474d045eca91a9e66302ce0 (diff)
downloadgitlab-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.haml7
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 } }