xref: /webtrees/resources/views/modules/compact-chart/arrow-up.phtml (revision 1270d2767576ed4a83917769b0ee3613e3b010bf)
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