xref: /webtrees/resources/views/components/badge.phtml (revision 0c8c69d4fa633b3ee8e61f082e813991aabf9076)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3<?php if ($count > 0) : ?>
4    <span class="badge badge-<?= $context ?? 'secondary' ?>">
5        <?= I18N::number($count) ?>
6    </span>
7<?php endif ?>
8