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