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