="(queued for #{time_interval_in_words(@pipeline.queued_duration)})"
.well-segment.qa-pipeline-badges
.icon-container
=sprite_icon('flag')
-if@pipeline.child?
%span.js-pipeline-child.badge.badge-pill.gl-badge.sm.badge-primary.has-tooltip{title: s_("Pipelines|This is a child pipeline within the parent pipeline")}
%span.js-pipeline-url-latest.badge.badge-pill.gl-badge.sm.badge-success.has-tooltip{title: _("Latest pipeline for the most recent commit on this branch")}
latest
-if@pipeline.merge_train_pipeline?
%span.js-pipeline-url-train.badge.badge-pill.gl-badge.sm.badge-info.has-tooltip{title: _("This is a merge train pipeline")}
-popover_title_text=html_escape(_('This pipeline makes use of a predefined CI/CD configuration enabled by %{b_open}Auto DevOps.%{b_close}'))%{b_open: '<b>'.html_safe,b_close: '</b>'.html_safe}
%span.js-pipeline-url-mergerequest.badge.badge-pill.gl-badge.sm.badge-info.has-tooltip{title: _('Pipelines for merge requests are configured. A detached pipeline runs in the context of the merge request, and not against the merged result. Learn more in the documentation for Pipelines for Merged Results.')}
%span.js-pipeline-child.badge.badge-pill.gl-badge.sm.badge-primary.has-tooltip{title: s_("Pipelines|This is a child pipeline within the parent pipeline")}
%span.js-pipeline-url-latest.badge.badge-pill.gl-badge.sm.badge-success.has-tooltip{title: _("Latest pipeline for the most recent commit on this branch")}
latest
-if@pipeline.merge_train_pipeline?
%span.js-pipeline-url-train.badge.badge-pill.gl-badge.sm.badge-info.has-tooltip{title: _("This is a merge train pipeline")}
-popover_title_text=html_escape(_('This pipeline makes use of a predefined CI/CD configuration enabled by %{b_open}Auto DevOps.%{b_close}'))%{b_open: '<b>'.html_safe,b_close: '</b>'.html_safe}
%span.js-pipeline-url-mergerequest.badge.badge-pill.gl-badge.sm.badge-info.has-tooltip{title: _('Pipelines for merge requests are configured. A detached pipeline runs in the context of the merge request, and not against the merged result. Learn more in the documentation for Pipelines for Merged Results.')}