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