Commit 14e88565 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Refactor pipline info box view

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 8cd80da8
- commit = local_assigns.fetch(:commit)
- return unless commit&.present?
.commit-box
%h3.commit-title
= markdown(commit.title, pipeline: :single_line)
......
......@@ -4,9 +4,9 @@
- page_title "Pipeline"
.js-pipeline-container{ class: container_class, data: { controller_action: "#{controller.action_name}" } }
#js-pipeline-header-vue.pipeline-header-container
- if @pipeline.commit.present?
= render "projects/pipelines/info", commit: @pipeline.commit
= render "projects/pipelines/with_tabs", pipeline: @pipeline
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment