Skip to content
Snippets Groups Projects
Unverified Commit 74063c5f authored by weaver299's avatar weaver299 Committed by GitHub
Browse files

Merge pull request #364 from ASCWebServices/canini-2

updating user template to not show email if hide_email checkbox is se…
parents 661b5813 d503b596
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'] != "On" %}
<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