xref: /webtrees/resources/views/user-page-block.phtml (revision bb88f16b1377db732afb12b8b709b3f5f899347a)
1<?php
2
3use Fisharebest\Webtrees\Module\ModuleBlockInterface;
4
5?>
6
7<?php if ($block->loadAjax()) : ?>
8    <div class="wt-ajax-load" data-ajax-url="<?= e(route('user-page-block', ['tree' => $tree->name(), 'block_id' => $block_id])) ?>"></div>
9<?php else : ?>
10    <?= $block->getBlock($tree, $block_id, ModuleBlockInterface::CONTEXT_USER_PAGE) ?>
11<?php endif ?>
12