Skip to content
Snippets Groups Projects
Commit adef3c85 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-4704: updating profiles to use content grid list and teaser card

parent 93e058f8
No related branches found
No related tags found
1 merge request!66ISTWCMS-4704: adding date component with ability to handle multiple dates and...
<div class="uw-profiles">
{% for profile in profiles %}
<div class="uw-profile">
<div class="uw-profile__infobar">
{% if profile.image %}
<div class="uw-profile__image">
<a href="{{ profile.url }}">
<img src="{{ profile.image.url }}" alt="{{ profile.image.alt }}" />
</a>
</div>
{% endif %}
<div class="uw-profile__personal">
<div class="uw-profile__title">
<h2><a href="{{ profile.url }}">{{ profile.title }}</a></h2>
</div>
<div class="uw-profile__position">
{{ profile.position }}
</div>
</div>
</div>
<div class="uw-profile__affiliation">
{{ profile.affiliation }}
</div>
<div class="uw-profile__summary">
{{ profile.summary }}
</div>
</div>
{% endfor %}
{% embed '@components/content-grid-list/content-grid-list.twig' %}
{% block content %}
{% for profile in profiles %}
{% include '@components/card/card--teaser/card--teaser.twig' with {
teaser: profile,
} %}
{% endfor %}
{% endblock %}
{% endembed %}
</div>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment