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