diff --git a/templates/content/node--ubc-profile--card-horizontal-round-image.html.twig b/templates/content/node--ubc-profile--card-horizontal-round-image.html.twig index b4a396e..89e9e04 100644 --- a/templates/content/node--ubc-profile--card-horizontal-round-image.html.twig +++ b/templates/content/node--ubc-profile--card-horizontal-round-image.html.twig @@ -195,6 +195,14 @@ {%- endfor -%}

{% endif %} + {% if not (node.field_profile_affiliated.isEmpty == true) and content.field_profile_affiliated is defined %} +

+ {%- for tag in content.field_profile_affiliated['#items'] -%} + {{- tag.entity.name.value -}} + {% if loop.last == false %}, {% endif %} + {%- endfor -%} +

+ {% endif %} {% if not (node.field_profile_phone.isEmpty == true) and content.field_profile_phone is defined %}

{{ content.field_profile_phone.0 }}

{% endif %} diff --git a/templates/content/node--ubc-profile--card-horizontal.html.twig b/templates/content/node--ubc-profile--card-horizontal.html.twig index e919bb1..73a784e 100644 --- a/templates/content/node--ubc-profile--card-horizontal.html.twig +++ b/templates/content/node--ubc-profile--card-horizontal.html.twig @@ -194,6 +194,14 @@ {%- endfor -%}

{% endif %} + {% if not (node.field_profile_affiliated.isEmpty == true) and content.field_profile_affiliated is defined %} +

+ {%- for tag in content.field_profile_affiliated['#items'] -%} + {{- tag.entity.name.value -}} + {% if loop.last == false %}, {% endif %} + {%- endfor -%} +

+ {% endif %} {% if not (node.field_profile_phone.isEmpty == true) and content.field_profile_phone is defined %}

{{ content.field_profile_phone.0 }}

{% endif %} diff --git a/templates/content/node--ubc-profile--sidebar-content.html.twig b/templates/content/node--ubc-profile--sidebar-content.html.twig index fd70a5f..6d33343 100644 --- a/templates/content/node--ubc-profile--sidebar-content.html.twig +++ b/templates/content/node--ubc-profile--sidebar-content.html.twig @@ -109,6 +109,14 @@ {%- endfor -%}

{% endif %} + {% if not (node.field_profile_affiliated.isEmpty == true) and content.field_profile_affiliated is defined %} +

+ {%- for tag in content.field_profile_affiliated['#items'] -%} + {{- tag.entity.name.value -}} + {% if loop.last == false %}, {% endif %} + {%- endfor -%} +

+ {% endif %} {% if not (node.field_profile_phone.isEmpty == true) and content.field_profile_phone is defined %}

{{ content.field_profile_phone.0 }}

{% endif %}