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