xref: /webtrees/resources/views/help/link.phtml (revision 6d0346fb6717c6bfdc004508a85adf03b89d5468)
1<?php
2
3use Fisharebest\Webtrees\Http\RequestHandlers\HelpText;
4use Fisharebest\Webtrees\I18N;
5
6/**
7 * @var string $topic
8 */
9
10?>
11<a href="#" data-bs-toggle="modal" data-bs-backdrop="static" data-bs-target="#wt-ajax-modal" data-wt-href="<?= e(route(HelpText::class, ['topic' => $topic])) ?>" title="<?= I18N::translate('Help') ?>">
12    <?= view('icons/help') ?>
13    <span class="visually-hidden"><?= I18N::translate('Help') ?></span>
14</a>
15