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