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