xref: /webtrees/resources/views/icons/record.phtml (revision 8bbe40f899dc0ace2b8e259b48df98612dae0af8)
1ac107fcfSGreg Roach<?php
2ac107fcfSGreg Roach
3ac107fcfSGreg Roachuse Fisharebest\Webtrees\Family;
4ac107fcfSGreg Roachuse Fisharebest\Webtrees\GedcomRecord;
5ac107fcfSGreg Roachuse Fisharebest\Webtrees\Individual;
6e8ded2caSGreg Roachuse Fisharebest\Webtrees\Location;
7ac107fcfSGreg Roachuse Fisharebest\Webtrees\Media;
8ac107fcfSGreg Roachuse Fisharebest\Webtrees\Note;
9ac107fcfSGreg Roachuse Fisharebest\Webtrees\Repository;
10ac107fcfSGreg Roachuse Fisharebest\Webtrees\Source;
11ac107fcfSGreg Roachuse Fisharebest\Webtrees\Submitter;
12ac107fcfSGreg Roach
13ac107fcfSGreg Roach/**
14ac107fcfSGreg Roach * @var GedcomRecord $record
15ac107fcfSGreg Roach */
16ac107fcfSGreg Roach?>
1702467d32SGreg Roach<?php if ($record->tag() === Individual::RECORD_TYPE) : ?>
1808362db4SGreg Roach    <?= view('icons/individual') ?>
1902467d32SGreg Roach<?php elseif ($record->tag() === Family::RECORD_TYPE) : ?>
2008362db4SGreg Roach    <?= view('icons/family') ?>
2102467d32SGreg Roach<?php elseif ($record->tag() === Source::RECORD_TYPE) : ?>
2208362db4SGreg Roach    <?= view('icons/source') ?>
2302467d32SGreg Roach<?php elseif ($record->tag() === Repository::RECORD_TYPE) : ?>
2408362db4SGreg Roach    <?= view('icons/repository') ?>
2502467d32SGreg Roach<?php elseif ($record->tag() === Note::RECORD_TYPE) : ?>
2608362db4SGreg Roach    <?= view('icons/note') ?>
2702467d32SGreg Roach<?php elseif ($record->tag() === Media::RECORD_TYPE) : ?>
2808362db4SGreg Roach    <?= view('icons/media') ?>
2902467d32SGreg Roach<?php elseif ($record->tag() === Submitter::RECORD_TYPE) : ?>
3008362db4SGreg Roach    <?= view('icons/submitter') ?>
31e8ded2caSGreg Roach<?php elseif ($record->tag() === Location::RECORD_TYPE) : ?>
32*8bbe40f8SGreg Roach    <?= view('icons/location') ?>
33d70512abSGreg Roach<?php endif;
34