xref: /webtrees/resources/views/modules/places/event-sidebar.phtml (revision d62ae68e24d451faa2c02451650eabf25a43a980)
1<?php
2
3use Fisharebest\Webtrees\GedcomTag;
4
5?>
6<div class="label">
7    <?= $tag ?>
8</div>
9
10<?php if ($url) : ?>
11    <a href="<?= e($url) ?>">
12        <?= $name ?>
13    </a>
14<?php endif ?>
15
16<?php if ($value) : ?>
17    <span>
18        <?= $value ?>
19    </span>
20<?php endif ?>
21
22<div>
23    <?php if ($addtag) : ?>
24        <?= GedcomTag::getLabel('BIRT') ?>:
25    <?php endif ?>
26    <?= $date ?>
27</div>
28
29<?php if ($place->gedcomName() !== '') : ?>
30    <div>
31        <?= $place->fullName(true) ?>
32    </div>
33<?php endif ?>
34