diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2025-03-10 23:09:49 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2025-03-11 10:15:52 +0000 |
| commit | 873d0602b56b0db5b89e948531f86bc3c50d95aa (patch) | |
| tree | 7986a5157fd46cb8119d69e99e36380d489d8313 /resources/views/modules/relatives/family.phtml | |
| parent | 7db85a88adfab3198915fa7e3622979d69f30104 (diff) | |
| download | webtrees-873d0602b56b0db5b89e948531f86bc3c50d95aa.tar.gz webtrees-873d0602b56b0db5b89e948531f86bc3c50d95aa.tar.bz2 webtrees-873d0602b56b0db5b89e948531f86bc3c50d95aa.zip | |
Replace: #5087 - use SVG icons as defaults in the welcome blocks
Diffstat (limited to 'resources/views/modules/relatives/family.phtml')
| -rw-r--r-- | resources/views/modules/relatives/family.phtml | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/resources/views/modules/relatives/family.phtml b/resources/views/modules/relatives/family.phtml index fc9763736e..e5a6919184 100644 --- a/resources/views/modules/relatives/family.phtml +++ b/resources/views/modules/relatives/family.phtml @@ -45,8 +45,10 @@ use Fisharebest\Webtrees\Services\RelationshipService; ?> <tr class="<?= $row_class ?>"> <th scope="row"> - <?= $individual === $person ? '<i class="icon-selected"></i>' : '' ?> <?= $relationship_service->getCloseRelationshipName($individual, $person) ?> + <?php if ($individual === $person) : ?> + <span class="icon-selected"><?= view('icons/user') ?></span> + <?php endif ?> </th> <td class="border-0 p-0"> <?= view('chart-box', ['individual' => $person]) ?> @@ -83,8 +85,10 @@ use Fisharebest\Webtrees\Services\RelationshipService; <tr class="<?= $row_class ?>"> <th scope="row"> - <?= $individual === $person ? '<i class="icon-selected"></i>' : '' ?> <?= $relationship_service->getCloseRelationshipName($individual, $person) ?> + <?php if ($individual === $person) : ?> + <span class="icon-selected"><?= view('icons/user') ?></span> + <?php endif ?> </th> <td class="border-0 p-0"> <?= view('chart-box', ['individual' => $person]) ?> @@ -179,10 +183,6 @@ use Fisharebest\Webtrees\Services\RelationshipService; <tr class="<?= $row_class ?>"> <th scope="row"> - <?php if ($individual === $person) : ?> - <i class="icon-selected"></i> - <?php endif ?> - <?php if ($prev->isOK() && $next->isOK()) : ?> <div class="wt-date-difference collapse small"> <?php $days = $next->maximumJulianDay() - $prev->minimumJulianDay(); ?> @@ -200,6 +200,10 @@ use Fisharebest\Webtrees\Services\RelationshipService; <?php endif ?> <?= $relationship_service->getCloseRelationshipName($individual, $person) ?> + + <?php if ($individual === $person) : ?> + <span class="icon-selected"><?= view('icons/user') ?></span> + <?php endif ?> </th> <td class="border-0 p-0"> <?= view('chart-box', ['individual' => $person]) ?> |
