xref: /webtrees/resources/views/statistics/families/top10-nolist-grand.phtml (revision 8add1155cb77caede54752196ff44696d1346431)
1<?php
2declare(strict_types=1);
3
4use Fisharebest\Webtrees\Family;
5use Fisharebest\Webtrees\I18N;
6
7/* @var array  $records */
8/* @var Family $family */
9?>
10
11<?php foreach ($records as $record): ?>
12    <?php $family = $record['family']; ?>
13    <a href="<?= e($family->url()) ?>"><?= $family->getFullName() ?></a>
14    - <?= I18N::plural('%s grandchild', '%s grandchildren', $record['count'], I18N::number($record['count'])) ?>
15<?php endforeach; ?>
16