="(queued for #{time_interval_in_words(@pipeline.queued_duration)})"
="(queued for #{time_interval_in_words(@pipeline.queued_duration)})"
.well-segment.qa-pipeline-badges
-ifhas_pipeline_badges?(@pipeline)
.icon-container
.well-segment.qa-pipeline-badges
=sprite_icon('flag')
.icon-container
-if@pipeline.child?
=sprite_icon('flag')
%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")}
-if@pipeline.child?
=s_('Pipelines|Child pipeline')
%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")}
-if@pipeline.latest?
latest
%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")}
-if@pipeline.merge_train_pipeline?
latest
%span.js-pipeline-url-train.badge.badge-pill.gl-badge.sm.badge-info.has-tooltip{title: _("This is a merge train pipeline")}
-if@pipeline.merge_train_pipeline?
train
%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}
-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}
-popover_content_text=_('Learn more about Auto DevOps')
%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.')}
-if@pipeline.detached_merge_request_pipeline?
detached
%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.')}