diff --git a/templates/content/node--ubc-profile--card-vertical.html.twig b/templates/content/node--ubc-profile--card-vertical.html.twig index 4394b7a..01e83d6 100644 --- a/templates/content/node--ubc-profile--card-vertical.html.twig +++ b/templates/content/node--ubc-profile--card-vertical.html.twig @@ -158,6 +158,7 @@ {% endif %}
{{ content.field_profile_pronouns.0 }}
{% endif %} + {% if not node.isPublished() %} +{{ content.field_profile_role.0 }}
{% endif %} @@ -186,6 +191,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 %}