- {% for id in value %}
- - {{ id['scheme'] | urlize }} {{ id['value'] | urlize }}
+ {% elif key == 'themes' %}
+
+ {% for theme in value %}
+ {{ theme['scheme'] }}
+
- |
- {% elif key == 'providers' %}
-
- {% for cnt in data['properties']['providers'] %}
- {% if 'name' in cnt and cnt['name'] not in [None,''] %}
- {{ cnt['name'] }}
- {% endif %}
- {% if 'roles' in cnt and cnt['roles'] is not string %}
- Role: {{ cnt['roles'] | map(attribute='name') | join(',') }}
- {% endif %}
- {% if 'positionName' in cnt and cnt['positionName'] not in [None,''] %}
- Position: {{ cnt['positionName'] }})
- {% endif %}
- {% if 'contactInfo' in cnt and cnt['contactInfo'] is not string %}
- {% for k,e in cnt['contactInfo'].get('phone',{}).items() %}
- {% if e %}{{ k }}: {{ e }} {% endif %}
- {% endfor %}
- {% for k,e in cnt['contactInfo'].get('email',{}).items() %}
- {% if e not in [None,''] %}{{ k }}: {{ e | urlize }} {% endif %}
- {% endfor %}
- {% for k,e in cnt['contactInfo'].get('address',{}).items() %}
- {{ k }}: {% for a,b in e.items() %}{% if b %}{{ b }}, {% endif %}{% endfor %}
+
+ {% endfor %}
+ |
+ {% elif key == 'externalIds' %}
+
+
+ {% for id in value %}
+ - {{ id['scheme'] | urlize }} {{ id['value'] | urlize }}
{% endfor %}
- {% if cnt['contactInfo']['url'] %}
- {{ cnt['contactInfo']['url'].get('href','') | urlize }}
+
+ |
+ {% elif key == 'providers' %}
+
+ {% for cnt in data['properties']['providers'] %}
+ {% if 'name' in cnt and cnt['name'] not in [None,''] %}
+ {{ cnt['name'] }}
{% endif %}
- {% endif %}
- {% endfor %}
- |
- {% else %}
- {{ value }} |
- {% endif %}
-