Skip to content

Commit

Permalink
Update node--ubc-project--full.html.twig
Browse files Browse the repository at this point in the history
  • Loading branch information
occupant committed Nov 18, 2022
1 parent 2dc5e84 commit 8da7125
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions templates/content/node--ubc-project--full.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,11 @@
'field_project_researchers') }}
{% if not (node.field_project_researchers.isEmpty == true) and content.field_project_researchers is defined %}
<h3 class="h5">Researchers</h3>
{{ content.field_project_researchers }}
{% endif %}
<p>{%- for tag in content.field_project_researchers['#items'] -%}
<a href="{{- path('entity.node.canonical', {'node': node.field_project_researchers.entity.id}) -}}">{{- tag.entity.title.value -}}</a>
{%- if loop.last == false -%},&nbsp;{%- endif -%}
{%- endfor -%}
{% endif %}</p>
{% if not (node.field_project_home_org.isEmpty == true) and content.field_project_home_org is defined %}
<h3 class="h5">Home Organization</h3>
<p>{{ content.field_project_home_org.0 }}</p>
Expand Down

0 comments on commit 8da7125

Please sign in to comment.