xref: /webtrees/resources/views/statistics/families/top10-nolist-grand.phtml (revision ad7270802ba57a28d195fc58fcc55f26458a779a)
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