Commit 3db9ff8e authored by Arturo Herrero's avatar Arturo Herrero

Update Pajamas badges on sherlock/transactions

This commit switches a badge from using manual CSS classes to
the helper abstraction.
parent 50d75c7f
......@@ -8,13 +8,11 @@
%li
%a{ href: "#tab-queries", data: { toggle: "tab" } }
= t('sherlock.queries')
%span.badge.badge-pill
#{@transaction.queries.length}
= gl_badge_tag @transaction.queries.length.to_s, variant: :pill
%li
%a{ href: "#tab-file-samples", data: { toggle: "tab" } }
= t('sherlock.file_samples')
%span.badge.badge-pill
#{@transaction.file_samples.length}
= gl_badge_tag @transaction.file_samples.length.to_s, variant: :pill
.row-content-block
.float-right
......
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