diff options
author | Phil Hughes <me@iamphill.com> | 2017-07-07 21:50:34 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-07-07 21:50:34 +0100 |
commit | 8e9ae78007010afb967cdf01f29568744d4c8c7a (patch) | |
tree | fb2d49fc5be3808bf2a8b5874210aa9f1237e21d /app/views/projects/pipeline_schedules | |
parent | 59195b98d3dfef31915c901e86f91cec74d5fbfa (diff) | |
download | gitlab-ce-8e9ae78007010afb967cdf01f29568744d4c8c7a.tar.gz |
rename method
Diffstat (limited to 'app/views/projects/pipeline_schedules')
-rw-r--r-- | app/views/projects/pipeline_schedules/index.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/pipeline_schedules/new.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/pipeline_schedules/index.html.haml b/app/views/projects/pipeline_schedules/index.html.haml index 5f9518e5102..652d52d6814 100644 --- a/app/views/projects/pipeline_schedules/index.html.haml +++ b/app/views/projects/pipeline_schedules/index.html.haml @@ -11,7 +11,7 @@ - content_for :breadcrumbs_extra do = link_to _('New schedule'), new_namespace_project_pipeline_schedule_path(@project.namespace, @project), class: 'btn btn-create' - - breadcrumbs_extra_links("Pipelines", project_pipelines_path(@project)) + - add_to_breadcrumbs("Pipelines", project_pipelines_path(@project)) = render "projects/pipelines/head" diff --git a/app/views/projects/pipeline_schedules/new.html.haml b/app/views/projects/pipeline_schedules/new.html.haml index f7db2498148..115c43a0aec 100644 --- a/app/views/projects/pipeline_schedules/new.html.haml +++ b/app/views/projects/pipeline_schedules/new.html.haml @@ -3,7 +3,7 @@ - page_title _("New Pipeline Schedule") - if show_new_nav? - - breadcrumbs_extra_links("Pipelines", project_pipelines_path(@project)) + - add_to_breadcrumbs("Pipelines", project_pipelines_path(@project)) %h3.page-title = _("Schedule a new pipeline") |