diff options
Diffstat (limited to 'app/views/projects/pipeline_schedules/index.html.haml')
-rw-r--r-- | app/views/projects/pipeline_schedules/index.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/pipeline_schedules/index.html.haml b/app/views/projects/pipeline_schedules/index.html.haml index cbda522f28f..5f9518e5102 100644 --- a/app/views/projects/pipeline_schedules/index.html.haml +++ b/app/views/projects/pipeline_schedules/index.html.haml @@ -22,7 +22,8 @@ = render "tabs", schedule_path_proc: schedule_path_proc, all_schedules: @all_schedules, scope: @scope .nav-controls{ class: ("visible-xs" if show_new_nav?) } - = link_to _('New schedule'), new_namespace_project_pipeline_schedule_path(@project.namespace, @project), class: 'btn btn-create' + = link_to new_project_pipeline_schedule_path(@project), class: 'btn btn-create' do + %span= _('New schedule') - if @schedules.present? %ul.content-list |