Commit 3168714b authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-5336: adding project members to projects

parent 0fbfa20d
......@@ -91,6 +91,12 @@
} %}
{% endif %}
{% if footer.project_members %}
{% include '@components/card/card-elements/_project-members.twig' with {
'project_members': footer.project_members
} %}
{% endif %}
{% if footer.timeline %}
{% include '@components/card/card-elements/_timeline.twig' with {
'timeline': footer.timeline
......
<div class="card__project-members">
{% embed '@components/details/details.twig' with {
'is_open': TRUE,
}%}
{% block details_summary %}
Project members
{% endblock %}
{% block details_content %}
<div class="card__project-members--content">
{% for member in project_members %}
<div class="card__project-member">
{% if member.link %}
<a href="{{ member.link }}">
{% endif %}
{{ member.name }}
{% if member.link %}
</a>
{% endif %}
{% if member.roles %}
{% include '@components/card/card-elements/_tags.twig' with {
'tags': member.roles
} %}
{% endif %}
</div>
{% endfor %}
</div>
{% endblock %}
{% endembed %}
</div>
<div class="card__groups">
<div class="card__timeline">
{% embed '@components/details/details.twig' with {
'is_open': TRUE,
}%}
......@@ -7,7 +7,7 @@
{% endblock %}
{% block details_content %}
<div class="card__timeline">
<div class="card__timeline--content">
{% include '@components/date/_date.twig' with {
'date_format': 'month_only',
'date': timeline.start_date,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment