xref: /webtrees/resources/views/components/badge.phtml (revision 2452d1ce1eaa0c348ba7298831da4bef9d5d4b80)
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