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 @@ ...@@ -46,11 +46,13 @@
</p> </p>
{% endif %} {% endif %}
<p> {% if content.field_people_hide_email.0['#markup'] == "Off" %}
<a href="mailto:{{ user.mail.value }}" title="Email {{ content.field_first_name.0 }} {{ content.field_last_name.0 }}"> <p>
{{ user.mail.value }} <a href="mailto:{{ user.mail.value }}" title="Email {{ content.field_first_name.0 }} {{ content.field_last_name.0 }}">
</a> {{ user.mail.value }}
</p> </a>
</p>
{% endif %}
{% if content.field_phone.0 != '' %} {% if content.field_phone.0 != '' %}
<p> <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