1<?php use Fisharebest\Webtrees\Functions\FunctionsPrintFacts; ?> 2<?php use Fisharebest\Webtrees\I18N; ?> 3 4<div class="wt-tab-media py-4"> 5 <table class="table wt-facts-table"> 6 <?php foreach ($facts as $fact) : ?> 7 <?php FunctionsPrintFacts::printMainMedia($fact, 1) ?> 8 <?php FunctionsPrintFacts::printMainMedia($fact, 2) ?> 9 <?php FunctionsPrintFacts::printMainMedia($fact, 3) ?> 10 <?php FunctionsPrintFacts::printMainMedia($fact, 4) ?> 11 <?php endforeach ?> 12 13 <?php if (empty($facts)) : ?> 14 <tr> 15 <td colspan="2"> 16 <?= I18N::translate('There are no media objects for this individual.') ?> 17 </td> 18 </tr> 19 <?php endif ?> 20 21 <?php if ($can_edit) : ?> 22 <?= view('edit/paste-fact-row', ['record' => $individual, 'facts' => $clipboard_facts]) ?> 23 <?php endif ?> 24 </table> 25</div> 26