1<?php 2 3declare(strict_types=1); 4 5use Fisharebest\Webtrees\Family; 6use Fisharebest\Webtrees\Individual; 7use Fisharebest\Webtrees\Location; 8use Fisharebest\Webtrees\Media; 9use Fisharebest\Webtrees\Note; 10use Fisharebest\Webtrees\Source; 11use Fisharebest\Webtrees\Tree; 12use Illuminate\Support\Collection; 13 14/** 15 * @var Collection $clipboard_facts 16 * @var Collection<Family> $linked_families 17 * @var Collection<Individual> $linked_individuals 18 * @var Collection<Location> $linked_locations 19 * @var Collection<Note> $linked_notes 20 * @var Collection<Source> $linked_sources 21 * @var Media $record 22 * @var Tree $tree 23 */ 24 25?> 26 27<?= view('media-page-pending', ['record' => $record]) ?> 28 29<div class="d-flex mb-4"> 30 <h2 class="wt-page-title mx-auto"> 31 <?= $record->fullName() ?> 32 </h2> 33 <?php if ($record->canEdit()) : ?> 34 <?= view('media-page-menu', ['clipboard_facts' => $clipboard_facts, 'record' => $record]) ?> 35 <?php endif ?> 36</div> 37 38<div class="wt-page-content"> 39 <?= view('record-page-links', [ 40 'details' => view('media-page-details', ['clipboard_facts' => $clipboard_facts, 'record' => $record]), 41 'linked_families' => $linked_families, 42 'linked_individuals' => $linked_individuals, 43 'linked_locations' => $linked_locations, 44 'linked_media_objects' => null, 45 'linked_notes' => $linked_notes, 46 'linked_repositories' => null, 47 'linked_sources' => $linked_sources, 48 'linked_submitters' => null, 49 'tree' => $tree, 50 ]) ?> 51</div> 52 53<?= view('modals/ajax') ?> 54