summaryrefslogtreecommitdiff
path: root/resources/views/modules/pedigree-map/events.phtml
blob: ae60f14c00b5daa36e8c81565b9d0d3d4cb7781b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php use Fisharebest\Webtrees\GedcomTag; ?>
<div class="label">
    <?= $tag ?>
</div>

<?php if ($url) : ?>
    <a href="<?= e($url) ?>">
        <?= $name ?>
    </a>
<?php endif ?>

<?php if ($value) : ?>
    <span>
        <?= $value ?>
    </span>
<?php endif ?>

<div>
    <?php if ($addtag) : ?>
        <?= GedcomTag::getLabel('BIRT') ?>:
    <?php endif ?>
    <?= $date ?>
</div>

<?php if ($place->gedcomName() !== '') : ?>
    <div>
        <a href="<?= e($place->url()) ?>">
            <?= $place->fullName() ?>
        </a>
    </div>
<?php endif ?>