blob: 86343b3701cf32549e0cc992e9421ce54e22957f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php use Fisharebest\Webtrees\Functions\FunctionsPrintFacts; ?>
<?php use Fisharebest\Webtrees\I18N; ?>
<div class="wt-media-tab py-4">
<table class="table wt-facts-table">
<?php foreach ($facts as $fact): ?>
<?php FunctionsPrintFacts::printMainMedia($fact, 1) ?>
<?php FunctionsPrintFacts::printMainMedia($fact, 2) ?>
<?php FunctionsPrintFacts::printMainMedia($fact, 3) ?>
<?php FunctionsPrintFacts::printMainMedia($fact, 4) ?>
<?php endforeach ?>
<?php if (empty($facts)): ?>
<tr>
<td colspan="2">
<?= I18N::translate('There are no media objects for this individual.') ?>
</td>
</tr>
<?php endif ?>
</table>
</div>
|