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