xref: /webtrees/resources/views/modules/compact-chart/arrow-up.phtml (revision dd7dd2a11a7399e56fa4d21fb56b0ecdff69c7d0)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3<?php if ($individual === null) : ?>
4    <?= view('icons/arrow-up') ?>
5<?php else : ?>
6    <a href="<?= e(route('compact-tree', ['xref' => $individual->xref(), 'ged' => $individual->tree()->name()])) ?>" title="<?= I18N::translate('Compact tree of %s', strip_tags($individual->getFullName())) ?>">
7        <?= view('icons/arrow-up') ?>
8    </a>
9<?php endif;
10