1<?php 2 3use Fisharebest\Webtrees\I18N; 4 5/** 6 * @var string|null $context 7 * @var int $count 8 * @var int|null $total 9 */ 10 11?> 12 13<span class="badge badge-<?= $context ?? 'secondary' ?>"> 14 <?= I18N::number($count) ?> 15 <?php if (($total ?? $count) > $count) : ?> 16 / <?= I18N::number($total) ?> 17 <?php endif ?> 18</span> 19