blob: c708ad8bab2231cbeb888f26acb59aa70c06e454 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php use Fisharebest\Webtrees\I18N; ?>
<?php use Fisharebest\Webtrees\Individual; ?>
<?php foreach ($facts as $fact) : ?>
<?php $record = $fact->record(); ?>
<a href="<?= e($record->url()) ?>" class="list_item name2">
<?= $record->getFullName() ?>
</a>
<?php if ($record instanceof Individual) : ?>
<?= $record->getSexImage() ?>
<?php endif ?>
<div class="indent">
<?= $fact->label() . ' — ' . $fact->date()->display(true); ?>
<?= ' (' . I18N::timeAgo($fact->anniv * 365 * 24 * 60 * 60) . ')'; ?>
<?php if ($fact->place()->gedcomName() !== '') : ?>
— <?=$fact->place()->fullName(true); ?>
<?php endif ?>
</div>
<?php endforeach ?>
|