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:
authorPhil Hughes <me@iamphill.com>2017-09-06 11:38:48 +0300
committerPhil Hughes <me@iamphill.com>2017-09-06 18:07:48 +0300
commit632b24820e4a0bc0e96a2e5900ca6f0aa1e857c5 (patch)
tree497261299bb77994ec1cbd49848e371fc3a37549 /app/views/projects/pipeline_schedules/index.html.haml
parentcdd8f2f345aeb3fb05bbe8f567e72b717f388636 (diff)
Moves the action buttons out of the breadcrumbs
Closes #36459
Diffstat (limited to 'app/views/projects/pipeline_schedules/index.html.haml')
-rw-r--r--app/views/projects/pipeline_schedules/index.html.haml6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/projects/pipeline_schedules/index.html.haml b/app/views/projects/pipeline_schedules/index.html.haml
index d9957b54a4d..2b081786b6a 100644
--- a/app/views/projects/pipeline_schedules/index.html.haml
+++ b/app/views/projects/pipeline_schedules/index.html.haml
@@ -7,10 +7,6 @@
- @no_container = true
- page_title _("Pipeline Schedules")
-- if can?(current_user, :create_pipeline_schedule, @project)
- - content_for :breadcrumbs_extra do
- = link_to _('New schedule'), new_namespace_project_pipeline_schedule_path(@project.namespace, @project), class: 'btn btn-create'
-
= render "projects/pipelines/head"
%div{ class: container_class }
@@ -20,7 +16,7 @@
= render "tabs", schedule_path_proc: schedule_path_proc, all_schedules: @all_schedules, scope: @scope
- if can?(current_user, :create_pipeline_schedule, @project)
- .nav-controls.visible-xs
+ .nav-controls
= link_to new_project_pipeline_schedule_path(@project), class: 'btn btn-create' do
%span= _('New schedule')