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