xref: /webtrees/resources/views/modules/pedigree-map/events.phtml (revision e3c147d0d53873311b7c137c41b4439e01d4189e)
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        <a href="<?= e($place->url()) ?>">
32            <?= $place->fullName() ?>
33        </a>
34    </div>
35<?php endif ?>
36