xref: /webtrees/resources/views/modules/compact-chart/arrow-right.phtml (revision 78606cf427772fbdc5222ff607ee23f43078f94b)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\Individual;
6use Fisharebest\Webtrees\Module\CompactTreeChartModule;
7
8/**
9 * @var Individual|null        $individual
10 * @var CompactTreeChartModule $module
11 */
12
13?>
14<?php if ($individual instanceof Individual) : ?>
15    <a href="<?= e($module->chartUrl($individual)) ?>" title="<?= strip_tags($module->chartTitle($individual)) ?>">
16        <?= view('icons/arrow-right') ?>
17    </a>
18<?php else : ?>
19    <?= view('icons/arrow-right') ?>
20<?php endif;
21