diff options
Diffstat (limited to 'app/views/projects/pipelines/new.html.haml')
-rw-r--r-- | app/views/projects/pipelines/new.html.haml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/projects/pipelines/new.html.haml b/app/views/projects/pipelines/new.html.haml index d2b2a58fcf8..210f9c35c79 100644 --- a/app/views/projects/pipelines/new.html.haml +++ b/app/views/projects/pipelines/new.html.haml @@ -1,4 +1,5 @@ -- breadcrumb_title _('Pipelines') +- breadcrumb_title s_('Pipeline|Run pipeline') +- add_to_breadcrumbs s_('Pipeline|Pipelines'), project_pipelines_path(@project) - page_title s_('Pipeline|Run pipeline') %h1.page-title.gl-font-size-h-display @@ -7,8 +8,9 @@ #js-new-pipeline{ data: { project_id: @project.id, pipelines_path: project_pipelines_path(@project), - config_variables_path: config_variables_namespace_project_pipelines_path(@project.namespace, @project), default_branch: @project.default_branch, + pipelines_editor_path: project_ci_pipeline_editor_path(@project), + can_view_pipeline_editor: can_view_pipeline_editor?(@project), ref_param: params[:ref] || @project.default_branch, var_param: params[:var].to_json, file_param: params[:file_var].to_json, |