Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordi Llull <jllull@habitissimo.com>2018-12-22 17:06:53 +0300
committerJordi Llull <jllull@habitissimo.com>2019-01-07 20:33:53 +0300
commitf5b30609200a79681ce7e6a510fa8f1b0f561962 (patch)
treec10f3fb788881f2700a6dde364cc5384c4c62627 /app/views/projects/jobs
parent549ee8ada3b59278871a89720632584bc5cc11df (diff)
Remove cancel all jobs button in general jobs list view
Diffstat (limited to 'app/views/projects/jobs')
-rw-r--r--app/views/projects/jobs/index.html.haml4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/views/projects/jobs/index.html.haml b/app/views/projects/jobs/index.html.haml
index 59592abcf6a..afea5268006 100644
--- a/app/views/projects/jobs/index.html.haml
+++ b/app/views/projects/jobs/index.html.haml
@@ -8,10 +8,6 @@
.nav-controls
- if can?(current_user, :update_build, @project)
- - if @all_builds.running_or_pending.limit(1).any? # rubocop: disable CodeReuse/ActiveRecord
- = link_to 'Cancel running', cancel_all_project_jobs_path(@project),
- data: { confirm: 'Are you sure?' }, class: 'btn btn-danger', method: :post
-
- unless @repository.gitlab_ci_yml
= link_to 'Get started with Pipelines', help_page_path('ci/quick_start/README'), class: 'btn btn-info'