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