%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")}
=gl_badge_tagtext,{variant: :info,size: :sm},{class: 'js-pipeline-child has-tooltip',title: s_("Pipelines|This is a child pipeline within the parent pipeline")}
-if@pipeline.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")}
latest
=gl_badge_tags_('Pipelines|latest'),{variant: :success,size: :sm},{class: 'js-pipeline-url-latest has-tooltip',title: _("Latest pipeline for the most recent commit on this branch")}
-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")}
train
=gl_badge_tags_('Pipelines|train'),{variant: :info,size: :sm},{class: 'js-pipeline-url-train 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.')}
detached
=gl_badge_tags_('Pipelines|detached'),{variant: :info,size: :sm},{class: 'js-pipeline-url-mergerequest 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.')}