Commit 5f9a9b26 authored by John Hope's avatar John Hope Committed by Mark Florian

Use rails helper for project_badges

parent fc143e65
- if project.archived - 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? - 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 - 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