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