Refactor pipline info box view
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
8cd80da8bb
commit
14e88565c6
2 changed files with 2 additions and 6 deletions
|
@ -1,7 +1,3 @@
|
|||
- commit = local_assigns.fetch(:commit)
|
||||
|
||||
- return unless commit&.present?
|
||||
|
||||
.commit-box
|
||||
%h3.commit-title
|
||||
= markdown(commit.title, pipeline: :single_line)
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
- page_title "Pipeline"
|
||||
|
||||
.js-pipeline-container{ class: container_class, data: { controller_action: "#{controller.action_name}" } }
|
||||
|
||||
#js-pipeline-header-vue.pipeline-header-container
|
||||
|
||||
= render "projects/pipelines/info", commit: @pipeline.commit
|
||||
- if @pipeline.commit.present?
|
||||
= render "projects/pipelines/info", commit: @pipeline.commit
|
||||
|
||||
= render "projects/pipelines/with_tabs", pipeline: @pipeline
|
||||
|
||||
|
|
Loading…
Reference in a new issue