Commit f765cd66 authored by Mark Florian's avatar Mark Florian

Merge branch...

Merge branch '344325-make-badges-in-app-views-groups-_project_badges-html-haml-pajamas-compliant' into 'master'

Use rails helper for project_badges

See merge request gitlab-org/gitlab!76445
parents e0ec556b 5f9a9b26
- if project.archived
%span.badge.badge-warning.badge-pill.gl-badge.md= _('archived')
= gl_badge_tag _('archived'), variant: :warning, size: :md
- if project.marked_for_deletion?
%span.badge.badge-warning.badge-pill.gl-badge.md= _('pending deletion')
= gl_badge_tag _('pending deletion'), variant: :warning, size: :md
- elsif project.archived
%span.badge.badge-warning.badge-pill.gl-badge.md= _('archived')
= gl_badge_tag _('archived'), variant: :warning, size: :md
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