xref: /webtrees/resources/views/modules/compact-chart/arrow-right.phtml (revision 40217a61a2f92b29f16fd9c08e85ae48a5ff6a06)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3<?php if ($individual === null) : ?>
4    <?= view('icons/arrow-right') ?>
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-right') ?>
8    </a>
9<?php endif;
10