Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
829b1288
Commit
829b1288
authored
Nov 09, 2015
by
Daniel W Bond
Browse files
fontawesome actually has a ton of these
parent
f488cf45
Changes
2
Hide whitespace changes
Inline
Side-by-side
roomlist/accounts/models.py
View file @
829b1288
...
...
@@ -111,12 +111,16 @@ class Student(TimeStampedModel):
FEMALE
=
'female'
MALE
=
'male'
TRANS
=
'trans'
INTERSEX
=
'intersex'
GENDERLESS
=
'genderless'
OTHER
=
'other'
GENDER_CHOICES
=
(
(
FEMALE
,
'female'
),
(
MALE
,
'male'
),
(
TRANS
,
'trans'
),
(
INTERSEX
,
'intersex'
),
(
GENDERLESS
,
'genderless'
),
(
OTHER
,
'other'
),
)
...
...
roomlist/accounts/templates/detailStudent.html
View file @
829b1288
...
...
@@ -77,10 +77,14 @@
<i
class=
"fa fa-venus"
></i>
{% elif gender == 'male' %}
<i
class=
"fa fa-mars"
></i>
{% elif gender == '
trans
' %}
{% elif gender == '
intersex
' %}
<i
class=
"fa fa-transgender"
></i>
{% elif gender == '
other
' %}
{% elif gender == '
trans
' %}
<i
class=
"fa fa-transgender-alt"
></i>
{% elif gender == 'genderless' %}
<i
class=
"fa fa-genderless"
></i>
{% elif gender == 'other' %}
<i
class=
"fa fa-mars-stroke-v"
></i>
{% endif %}
{% endfor %}
</h4></td>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment