xref: /webtrees/resources/views/statistics/families/top10-nolist-grand.phtml (revision cab242e7d7a773b0a6dab130048696e26fd6612c)
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->fullName() ?></a>
14    - <?= I18N::plural('%s grandchild', '%s grandchildren', $record['count'], I18N::number($record['count'])) ?>
15<?php endforeach; ?>
16