xref: /webtrees/resources/views/user-page-block.phtml (revision 12a0693f1b6760e019806135ae71270602315868)
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