diff options
Diffstat (limited to 'resources/views/modules/media/tab.php')
| -rw-r--r-- | resources/views/modules/media/tab.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/resources/views/modules/media/tab.php b/resources/views/modules/media/tab.php new file mode 100644 index 0000000000..86343b3701 --- /dev/null +++ b/resources/views/modules/media/tab.php @@ -0,0 +1,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> |
