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 @@ ...@@ -8,13 +8,11 @@
%li %li
%a{ href: "#tab-queries", data: { toggle: "tab" } } %a{ href: "#tab-queries", data: { toggle: "tab" } }
= t('sherlock.queries') = t('sherlock.queries')
%span.badge.badge-pill = gl_badge_tag @transaction.queries.length.to_s, variant: :pill
#{@transaction.queries.length}
%li %li
%a{ href: "#tab-file-samples", data: { toggle: "tab" } } %a{ href: "#tab-file-samples", data: { toggle: "tab" } }
= t('sherlock.file_samples') = t('sherlock.file_samples')
%span.badge.badge-pill = gl_badge_tag @transaction.file_samples.length.to_s, variant: :pill
#{@transaction.file_samples.length}
.row-content-block .row-content-block
.float-right .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