xref: /webtrees/resources/views/modules/places/event-sidebar.phtml (revision 00b1984e374faddab4698e73088f0c964e529b65)
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