Make pronouns visible on profile and miniprofile

This commit is contained in:
Celeste
2021-10-13 08:59:40 +02:00
parent 677a9da469
commit 4fbee9c3de
4 changed files with 27 additions and 15 deletions

View File

@@ -55,6 +55,9 @@
{% if user.nick_name %}
<div class="user_mini_profile_nick">&laquo; {{ user.nick_name }} &raquo;</div>
{% endif %}
{% if user.pronouns %}
<div class="user_mini_profile_pronouns">{{ user.pronouns }}</div>
{% endif %}
{% if user.date_of_birth %}
<div class="user_mini_profile_dob">
{{ user.date_of_birth|date("d/m/Y") }} ({{ user.get_age() }})
@@ -149,4 +152,4 @@
</script>
<button type="button" onclick="checkbox_{{form_id}}(true);">{% trans %}Select All{% endtrans %}</button>
<button type="button" onclick="checkbox_{{form_id}}(false);">{% trans %}Unselect All{% endtrans %}</button>
{% endmacro %}
{% endmacro %}