.commit-box %h3.commit-title = markdown(commit.title, pipeline: :single_line) - if commit.description.present? %pre.commit-description< = preserve(markdown(commit.description, pipeline: :single_line)) .info-well .well-segment.pipeline-info .icon-container = icon('clock-o') = pluralize @pipeline.total_size, "job" - if @pipeline.ref from - if @pipeline.ref_exists? = link_to @pipeline.ref, project_ref_path(@project, @pipeline.ref), class: "ref-name" - else %span.ref-name = @pipeline.ref - if @pipeline.duration in = time_interval_in_words(@pipeline.duration) - if @pipeline.queued_duration = "(queued for #{time_interval_in_words(@pipeline.queued_duration)})" .well-segment .icon-container = sprite_icon('flag') - if @pipeline.latest? %span.js-pipeline-url-latest.badge.badge-success.has-tooltip{ title: _("Latest pipeline for this branch") } latest - if @pipeline.has_yaml_errors? %span.js-pipeline-url-yaml.badge.badge-danger.has-tooltip{ title: @pipeline.yaml_errors } yaml invalid - if @pipeline.failure_reason? %span.js-pipeline-url-failure.badge.badge-danger.has-tooltip{ title: @pipeline.failure_reason } error - if @pipeline.auto_devops_source? - popover_title_text = _('This pipeline makes use of a predefined CI/CD configuration enabled by Auto DevOps.').html_safe - popover_content_url = help_page_path('topics/autodevops/index.md') - popover_content_text = _('Learn more about Auto DevOps') %a.js-pipeline-url-autodevops.badge.badge-info.autodevops-badge{ href: "#", tabindex: "0", role: "button", data: { container: "body", toggle: "popover", placement: "top", html: "true", trigger: "focus", title: "