xref: /webtrees/resources/views/modules/block-template.phtml (revision ad7270802ba57a28d195fc58fcc55f26458a779a)
1<?php use Fisharebest\Webtrees\FontAwesome; ?>
2<?php use Fisharebest\Webtrees\I18N; ?>
3
4<div class="card mb-4 wt-block wt-block-<?= e($block) ?>-block" id="block-<?= e($id) ?>">
5    <div class="card-header wt-block-header wt-block-header-<?= e($block) ?>" dir="auto">
6        <?php if ($config_url !== '') : ?>
7            <?= FontAwesome::linkIcon('preferences', I18N::translate('Preferences'), ['class' => 'btn btn-link', 'href' => $config_url]) ?>
8        <?php endif ?>
9        <?= $title ?>
10    </div>
11    <div class="card-body wt-block-content wt-block-content-<?= e($block) ?>">
12        <?= $content ?>
13    </div>
14</div>
15