1<?php use Fisharebest\Webtrees\I18N; ?> 2 3<?php if ($count > 0) : ?> 4 <span class="badge badge-<?= $context ?? 'secondary' ?>"> 5 <?= I18N::number($count) ?> 6 <?php if (($total ?? $count) > $count) : ?> 7 / <?= I18N::number($total) ?> 8 <?php endif ?> 9 </span> 10<?php endif ?> 11