diff options
Diffstat (limited to 'resources/views/statistics/families')
7 files changed, 7 insertions, 7 deletions
diff --git a/resources/views/statistics/families/top10-list-age.phtml b/resources/views/statistics/families/top10-list-age.phtml index 4c49bdda54..cc6e6533c7 100644 --- a/resources/views/statistics/families/top10-list-age.phtml +++ b/resources/views/statistics/families/top10-list-age.phtml @@ -19,7 +19,7 @@ use Fisharebest\Webtrees\Individual; <?php $family = $record['family']; ?> <li class="list-group-item d-flex justify-content-between align-items-center"> <span> - <a href="<?= e($child2->url()) ?>"><?= $child2->getFullName() ?></a> <?= I18N::translate('and') ?> <a href="<?= e($child1->url()) ?>"><?= $child1->getFullName() ?></a> + <a href="<?= e($child2->url()) ?>"><?= $child2->fullName() ?></a> <?= I18N::translate('and') ?> <a href="<?= e($child1->url()) ?>"><?= $child1->fullName() ?></a> <br> <a href="<?= e($family->url()) ?>">[<?= I18N::translate('View this family') ?>]</a> </span> diff --git a/resources/views/statistics/families/top10-list-grand.phtml b/resources/views/statistics/families/top10-list-grand.phtml index 2fc4ca9d7c..df2e68a9b3 100644 --- a/resources/views/statistics/families/top10-list-grand.phtml +++ b/resources/views/statistics/families/top10-list-grand.phtml @@ -13,7 +13,7 @@ use Fisharebest\Webtrees\I18N; <?php foreach ($records as $record): ?> <?php $family = $record['family']; ?> <li class="list-group-item d-flex justify-content-between align-items-center"> - <a href="<?= e($family->url()) ?>"><?= $family->getFullName() ?></a> + <a href="<?= e($family->url()) ?>"><?= $family->fullName() ?></a> <span class="badge badge-secondary badge-pill ml-3"> <?= I18N::plural('%s grandchild', '%s grandchildren', $record['count'], I18N::number($record['count'])) ?> </span> diff --git a/resources/views/statistics/families/top10-list-spouses.phtml b/resources/views/statistics/families/top10-list-spouses.phtml index 95d323b06a..e9ddb71b85 100644 --- a/resources/views/statistics/families/top10-list-spouses.phtml +++ b/resources/views/statistics/families/top10-list-spouses.phtml @@ -13,7 +13,7 @@ use Fisharebest\Webtrees\I18N; <?php foreach ($records as $record): ?> <?php $family = $record['family']; ?> <li class="list-group-item d-flex justify-content-between align-items-center"> - <a href="<?= e($family->url()) ?>"><?= $family->getFullName() ?></a> + <a href="<?= e($family->url()) ?>"><?= $family->fullName() ?></a> <span class="badge badge-secondary badge-pill ml-3"><?= $record['age'] ?></span> </li> <?php endforeach; ?> diff --git a/resources/views/statistics/families/top10-list.phtml b/resources/views/statistics/families/top10-list.phtml index 2f164214f7..a0bec1d01b 100644 --- a/resources/views/statistics/families/top10-list.phtml +++ b/resources/views/statistics/families/top10-list.phtml @@ -13,7 +13,7 @@ use Fisharebest\Webtrees\I18N; <?php foreach ($records as $record): ?> <?php $family = $record['family']; ?> <li class="list-group-item d-flex justify-content-between align-items-center"> - <a href="<?= e($family->url()) ?>"><?= $family->getFullName() ?></a> + <a href="<?= e($family->url()) ?>"><?= $family->fullName() ?></a> <span class="badge badge-secondary badge-pill ml-3"> <?= I18N::plural('%s child', '%s children', $record['count'], I18N::number($record['count'])) ?> </span> diff --git a/resources/views/statistics/families/top10-nolist-grand.phtml b/resources/views/statistics/families/top10-nolist-grand.phtml index 6c58c6b868..56f85316ef 100644 --- a/resources/views/statistics/families/top10-nolist-grand.phtml +++ b/resources/views/statistics/families/top10-nolist-grand.phtml @@ -10,6 +10,6 @@ use Fisharebest\Webtrees\I18N; <?php foreach ($records as $record): ?> <?php $family = $record['family']; ?> - <a href="<?= e($family->url()) ?>"><?= $family->getFullName() ?></a> + <a href="<?= e($family->url()) ?>"><?= $family->fullName() ?></a> - <?= I18N::plural('%s grandchild', '%s grandchildren', $record['count'], I18N::number($record['count'])) ?> <?php endforeach; ?> diff --git a/resources/views/statistics/families/top10-nolist-spouses.phtml b/resources/views/statistics/families/top10-nolist-spouses.phtml index 50a09aac07..32f4a883ee 100644 --- a/resources/views/statistics/families/top10-nolist-spouses.phtml +++ b/resources/views/statistics/families/top10-nolist-spouses.phtml @@ -9,5 +9,5 @@ use Fisharebest\Webtrees\Family; <?php foreach ($records as $record): ?> <?php $family = $record['family']; ?> - <a href="<?= e($family->url()) ?>"><?= $family->getFullName() ?></a> (<?= $record['age'] ?>) + <a href="<?= e($family->url()) ?>"><?= $family->fullName() ?></a> (<?= $record['age'] ?>) <?php endforeach; ?> diff --git a/resources/views/statistics/families/top10-nolist.phtml b/resources/views/statistics/families/top10-nolist.phtml index a60d371fec..35637113ea 100644 --- a/resources/views/statistics/families/top10-nolist.phtml +++ b/resources/views/statistics/families/top10-nolist.phtml @@ -10,6 +10,6 @@ use Fisharebest\Webtrees\I18N; <?php foreach ($records as $record): ?> <?php $family = $record['family']; ?> - <a href="<?= e($family->url()) ?>"><?= $family->getFullName() ?></a> + <a href="<?= e($family->url()) ?>"><?= $family->fullName() ?></a> - <?= I18N::plural('%s child', '%s children', $record['count'], I18N::number($record['count'])) ?> <?php endforeach; ?> |
