From f59dcbd4f8c6e8318ee83e194f46a28f51f9608b Mon Sep 17 00:00:00 2001 From: Marco Pernpruner Date: Fri, 27 Sep 2024 10:56:59 +0200 Subject: [PATCH] Show role as part of affiliation, add "internalRole" detail, remove currentRole from people cards (as in CS) --- _includes/list-people.html | 8 ++++---- _people/current.md | 4 ++-- assets/css/custom.css | 6 ++++++ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/_includes/list-people.html b/_includes/list-people.html index 75537ef0..bf4d496d 100644 --- a/_includes/list-people.html +++ b/_includes/list-people.html @@ -248,22 +248,23 @@ {% endif %}
{% if person.name and person.surname %}

{{ person.name }} {{ person.surname }}

{% endif %} - {% if role and details contains "role" %}

{{ role }}

{% endif %} {% if type %}

{{ type }}

{% endif %} {% if details contains "unit" or details contains "institution" or details contains "place" %} {% for affiliation in person.affiliations %}
+ {% if affiliation.role and details contains "role" %}

{{ affiliation.role }}

{% endif %} {% if affiliation.unit and details contains "unit" %}

{{ affiliation.unit }}

{% endif %} {% if affiliation.institution and details contains "institution" %}

{{ affiliation.institution }}

{% endif %} {% if affiliation.place and details contains "place" %}

{{ affiliation.place }}

{% endif %}
{% endfor %} - {% elsif details contains "internalUnit" %} + {% elsif details contains "internalRole" or details contains "internalUnit" %} {% for affiliation in person.affiliations %} {% if affiliation.institution == "Fondazione Bruno Kessler" %} {% if affiliation.unit == "Security & Trust" or affiliation.unit == "Center for Cybersecurity" %}
-

{{ affiliation.unit }}

+ {% if details contains "internalRole" %}

{{ affiliation.role }}

{% endif %} + {% if details contains "internalUnit" %}

{{ affiliation.unit }}

{% endif %}
{% endif %} {% endif %} @@ -271,7 +272,6 @@ {% endif %} {% if institution %}

{{ institution }}

{% endif %} {% if formerRole %}

{{ formerRole }}

{% endif %} - {% if currentRole and details contains "currentRole" %}

{{ currentRole }}

{% endif %} {% if additionalInfo.topic and details contains "topic" %}

{{ additionalInfo.topic }}

{% endif %} {% if thesis.title and details contains "thesis" %}

Thesis: {{ thesis.title }}

{% endif %}