{% extends "public_base.html" %} {% block title %}Projects — {{ SPLENT_APP }}{% endblock %} {% block head %} {% endblock %} {% block hero %} {{ render_block('hero', eyebrow=_('Research'), title=_('Projects'), subtitle=_('Funded research projects, active and past.')) }} {% endblock %} {% set status_labels = {'active': _('Active'), 'past': _('Past')} %} {% block content %}
{% for status in ['active', 'past'] %} {% set items = grouped.get(status, []) %} {% if items %}

{{ status_labels[status] }}

{% for p in items %}
{% if p.image %}{% endif %}
{{ p.status }}

{{ p.acronym or p.title }}

{% if p.summary %}

{{ p.summary }}

{% endif %} {% if p.programme or p.funding_agency %}

{{ p.programme or p.funding_agency }}

{% endif %}
{% endfor %}
{% endif %} {% else %}

{{ _('No projects yet.') }}

{% endfor %}
{% endblock %}