xref: /webtrees/resources/views/icons/sex.phtml (revision 090a06287954f43677f06ea778b3f67c029de8fe)
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