{% extends 'scipost/base.html' %}
{% block pagetitle %}: Commentaries{% endblock pagetitle %}
{% block headsup %}
{% endblock headsup %}
{% block bodysup %}
{% if user.is_authenticated %}
Search SciPost Commentaries:
View SciPost Commentaries
{% if commentary_search_list %}
Search results:
{% for commentary in commentary_search_list %}
{{ commentary.header_as_li|safe }}
{% endfor %}
{% elif form.has_changed %}
No match found for your search query.
{% endif %}
{% if commentary_recent_list %}
Recently active Commentaries:
{% for commentary in commentary_recent_list %}
{{ commentary.header_as_li|safe }}
{% endfor %}
{% endif %}
{% if commentary_browse_list %}
Commentaries in {{ discipline }} in the last {{ nrweeksback }} weeks:
{% for commentary in commentary_browse_list %}
{{ commentary.header_as_li|safe }}
{% endfor %}
{% endif %}
{% endif %}
{% endblock bodysup %}