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