xref: /webtrees/resources/views/icons/record.phtml (revision 02467d3222d9362e48b39bb9221b32134076ae9c)
1ac107fcfSGreg Roach<?php
2ac107fcfSGreg Roach
3ac107fcfSGreg Roachuse Fisharebest\Webtrees\Family;
4ac107fcfSGreg Roachuse Fisharebest\Webtrees\GedcomRecord;
5ac107fcfSGreg Roachuse Fisharebest\Webtrees\Individual;
6ac107fcfSGreg Roachuse Fisharebest\Webtrees\Media;
7ac107fcfSGreg Roachuse Fisharebest\Webtrees\Note;
8ac107fcfSGreg Roachuse Fisharebest\Webtrees\Repository;
9ac107fcfSGreg Roachuse Fisharebest\Webtrees\Source;
10ac107fcfSGreg Roachuse Fisharebest\Webtrees\Submitter;
11ac107fcfSGreg Roach
12ac107fcfSGreg Roach/**
13ac107fcfSGreg Roach * @var GedcomRecord $record
14ac107fcfSGreg Roach */
15ac107fcfSGreg Roach?>
16*02467d32SGreg Roach<?php if ($record->tag() === Individual::RECORD_TYPE) : ?>
1708362db4SGreg Roach    <?= view('icons/individual') ?>
18*02467d32SGreg Roach<?php elseif ($record->tag() === Family::RECORD_TYPE) : ?>
1908362db4SGreg Roach    <?= view('icons/family') ?>
20*02467d32SGreg Roach<?php elseif ($record->tag() === Source::RECORD_TYPE) : ?>
2108362db4SGreg Roach    <?= view('icons/source') ?>
22*02467d32SGreg Roach<?php elseif ($record->tag() === Repository::RECORD_TYPE) : ?>
2308362db4SGreg Roach    <?= view('icons/repository') ?>
24*02467d32SGreg Roach<?php elseif ($record->tag() === Note::RECORD_TYPE) : ?>
2508362db4SGreg Roach    <?= view('icons/note') ?>
26*02467d32SGreg Roach<?php elseif ($record->tag() === Media::RECORD_TYPE) : ?>
2708362db4SGreg Roach    <?= view('icons/media') ?>
28*02467d32SGreg Roach<?php elseif ($record->tag() === Submitter::RECORD_TYPE) : ?>
2908362db4SGreg Roach    <?= view('icons/submitter') ?>
30d70512abSGreg Roach<?php endif;
31