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