Commit 2d3a792e authored by Dave Pisek's avatar Dave Pisek

Migrate project-subscriptions badge to helper

This commit switches a badge from using manual CSS classes to
the helper abstraction.
parent 9709e437
......@@ -12,8 +12,8 @@
.col-lg-12
%h5
= _("Subscriptions")
%span.badge.badge-pill
= @project.upstream_projects_count + @project.downstream_projects_count
- subscriptions_count = @project.upstream_projects_count + @project.downstream_projects_count
= gl_badge_tag subscriptions_count, variant: :pill
%table.table.gl-mt-3
%thead
......
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