Skip to content
Snippets Groups Projects
Commit ab553702 authored by Brian Canini's avatar Brian Canini
Browse files

updating user template to not show email if hide_email checkbox is selected

parent 661b5813
No related branches found
No related tags found
No related merge requests found
......@@ -46,11 +46,13 @@
</p>
{% endif %}
<p>
<a href="mailto:{{ user.mail.value }}" title="Email {{ content.field_first_name.0 }} {{ content.field_last_name.0 }}">
{{ user.mail.value }}
</a>
</p>
{% if content.field_people_hide_email.0['#markup'] == "Off" %}
<p>
<a href="mailto:{{ user.mail.value }}" title="Email {{ content.field_first_name.0 }} {{ content.field_last_name.0 }}">
{{ user.mail.value }}
</a>
</p>
{% endif %}
{% if content.field_phone.0 != '' %}
<p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment