xref: /webtrees/resources/views/icons/sex.phtml (revision 3d2c98d1066d5e178a3d1ceb3bdc58b7ba8ee926)
1<?php
2
3/**
4 * @var string $sex
5 */
6
7?>
8<?php if ($sex === 'F') : ?>
9<span class="wt-icon-sex wt-icon-sex-f"><i class="fas fa-venus fa-fw" aria-hidden="true"></i></span>
10<?php elseif ($sex === 'M') : ?>
11    <span class="wt-icon-sex wt-icon-sex-m"><i class="fas fa-mars fa-fw" aria-hidden="true"></i></span>
12<?php elseif ($sex === 'X') : ?>
13    <span class="wt-icon-sex wt-icon-sex-x"><i class="fas fa-transgender fa-fw" aria-hidden="true"></i></span>
14<?php elseif ($sex === 'U') : ?>
15    <span class="wt-icon-sex wt-icon-sex-u"><i class="fas fa-genderless fa-fw" aria-hidden="true"></i></span>
16<?php endif ?>
17