summaryrefslogtreecommitdiff
path: root/resources/views/modules/compact-chart/arrow-down.phtml
blob: f5110d657d0f24ab991dad51a4fd18b224487a35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

use Fisharebest\Webtrees\Individual;
use Fisharebest\Webtrees\Module\CompactTreeChartModule;

/**
 * @var Individual|null        $individual
 * @var CompactTreeChartModule $module
 */

?>
<?php if ($individual instanceof Individual) : ?>
    <a href="<?= e($module->chartUrl($individual)) ?>" title="<?= strip_tags($module->chartTitle($individual)) ?>">
        <?= view('icons/arrow-down') ?>
    </a>
<?php else : ?>
    <?= view('icons/arrow-down') ?>
<?php endif;