xref: /webtrees/resources/views/modules/compact-chart/arrow-down.phtml (revision ac71572d8462e396ed5a307f05b29381e49f9e6e)
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-down') ?>
17    </a>
18<?php else : ?>
19    <?= view('icons/arrow-down') ?>
20<?php endif;
21