diff options
author | Stan Hu <stanhu@gmail.com> | 2017-12-05 23:36:49 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-12-12 15:07:24 -0800 |
commit | 87118872c94ab465d400090e247b1e4ae90c2d82 (patch) | |
tree | e1139ab70d1acdcd66e202421d404b68bf731d70 /app/views/projects/pipeline_schedules | |
parent | bc2d32aca0be46250bd02c9312d1064df024b621 (diff) | |
download | gitlab-ce-87118872c94ab465d400090e247b1e4ae90c2d82.tar.gz |
Fix conditions for checking pipeline schedule rules
Diffstat (limited to 'app/views/projects/pipeline_schedules')
-rw-r--r-- | app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml b/app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml index 12d7e81c39e..f8c4005a9e0 100644 --- a/app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml +++ b/app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml @@ -27,7 +27,7 @@ %td .pull-right.btn-group - if can?(current_user, :play_pipeline_schedule, pipeline_schedule) - = link_to run_pipeline_schedule_path(pipeline_schedule), method: :post, title: s_('Play'), class: 'btn' do + = link_to play_pipeline_schedule_path(pipeline_schedule), method: :post, title: s_('Play'), class: 'btn' do = icon('play') - if can?(current_user, :update_pipeline_schedule, pipeline_schedule) = link_to take_ownership_pipeline_schedule_path(pipeline_schedule), method: :post, title: s_('PipelineSchedules|Take ownership'), class: 'btn' do |