debian-mirror-gitlab/app/views/projects/pipelines/new.html.haml
2023-07-09 08:55:56 +05:30

20 lines
875 B
Text

- 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
= s_('Pipeline|Run pipeline')
%hr
#js-new-pipeline{ data: { project_id: @project.id,
pipelines_path: project_pipelines_path(@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,
project_path: @project.full_path,
project_refs_endpoint: refs_project_path(@project, sort: 'updated_desc'),
settings_link: project_settings_ci_cd_path(@project),
max_warnings: ::Gitlab::Ci::Warnings::MAX_LIMIT } }