Skip to content

Commit

Permalink
Update profile templates
Browse files Browse the repository at this point in the history
  • Loading branch information
occupant committed Oct 26, 2022
1 parent c895900 commit 86c6b2f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,14 @@
{%- endfor -%}
</p>
{% endif %}
{% if not (node.field_profile_affiliated.isEmpty == true) and content.field_profile_affiliated is defined %}
<p class="mt-0 text-sm">
{%- for tag in content.field_profile_affiliated['#items'] -%}
{{- tag.entity.name.value -}}
{% if loop.last == false %}, {% endif %}
{%- endfor -%}
</p>
{% endif %}
{% if not (node.field_profile_phone.isEmpty == true) and content.field_profile_phone is defined %}
<p class="text-sm"><svg aria-hidden="true" class="inline-block w-5 h-5 mr-4 text-ubc-blue link-expand-break"><use xlink:href="#icon-phone"></use></svg> {{ content.field_profile_phone.0 }}</p>
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,14 @@
{%- endfor -%}
</p>
{% endif %}
{% if not (node.field_profile_affiliated.isEmpty == true) and content.field_profile_affiliated is defined %}
<p class="mt-0 text-sm">
{%- for tag in content.field_profile_affiliated['#items'] -%}
{{- tag.entity.name.value -}}
{% if loop.last == false %}, {% endif %}
{%- endfor -%}
</p>
{% endif %}
{% if not (node.field_profile_phone.isEmpty == true) and content.field_profile_phone is defined %}
<p class="text-sm"><svg aria-hidden="true" class="inline-block w-5 h-5 mr-4 text-ubc-blue link-expand-break"><use xlink:href="#icon-phone"></use></svg> {{ content.field_profile_phone.0 }}</p>
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,14 @@
{%- endfor -%}
</p>
{% endif %}
{% if not (node.field_profile_affiliated.isEmpty == true) and content.field_profile_affiliated is defined %}
<p class="mt-0 text-sm">
{%- for tag in content.field_profile_affiliated['#items'] -%}
{{- tag.entity.name.value -}}
{% if loop.last == false %}, {% endif %}
{%- endfor -%}
</p>
{% endif %}
{% if not (node.field_profile_phone.isEmpty == true) and content.field_profile_phone is defined %}
<p class="text-sm"><svg aria-hidden="true" class="inline-block w-5 h-5 mr-4 text-ubc-blue"><use xlink:href="#icon-phone"></use></svg> {{ content.field_profile_phone.0 }}</p>
{% endif %}
Expand Down

0 comments on commit 86c6b2f

Please sign in to comment.