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

adding wrapper div for people page social links

parent f0944fc0
No related branches found
No related tags found
1 merge request!35style and template updates
...@@ -92,6 +92,10 @@ ...@@ -92,6 +92,10 @@
</p> </p>
{% endif %} {% endif %}
{% if content.field_twitter.0 != '' or content.field_youtube.0 != '' or content.field_linkedin.0 != '' %}
<div class="profile-social">
{% endif %}
{% if content.field_twitter.0 != '' %} {% if content.field_twitter.0 != '' %}
<a href="https://twitter.com/{{ content.field_twitter.0 }}" title="{{ content.field_first_name.0 }} {{ content.field_last_name.0 }}'s Twitter"> <a href="https://twitter.com/{{ content.field_twitter.0 }}" title="{{ content.field_first_name.0 }} {{ content.field_last_name.0 }}'s Twitter">
<img src="/themes/asc_bootstrap/images/social-media/twitter.svg" alt="Twitter logo"> <img src="/themes/asc_bootstrap/images/social-media/twitter.svg" alt="Twitter logo">
...@@ -110,6 +114,10 @@ ...@@ -110,6 +114,10 @@
</a> </a>
{% endif %} {% endif %}
{% if content.field_twitter.0 != '' or content.field_youtube.0 != '' or content.field_linkedin.0 != '' %}
</div>
{% endif %}
{% if content.field_office_hours.0 != '' %} {% if content.field_office_hours.0 != '' %}
<h3>Office Hours</h3> <h3>Office Hours</h3>
<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