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