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