{% extends 'scipost/base.html' %}
{% block pagetitle %}: list{% endblock pagetitle %}
{% block headsup %}
{% endblock headsup %}
{% block bodysup %}
List detail
{{ list.header }}
{% load guardian_tags %}
{% get_obj_perms request.user for list as "list_perms" %}
{% include 'scipost/list_contents.html' %}
{% if "change_list" in list_perms %}
Add elements to this List
{% if search_for_list_form.has_changed %}
Search results
{% endif %}
{% if commentary_search_list %}
Commentaries:
{% for commentary in commentary_search_list %}
{{ commentary.header_as_li }}
{% endfor %}
{% endif %}
{% if submission_search_list %}
Submissions:
{% for submission in submission_search_list %}
{{ submission.header_as_li }}
{% endfor %}
{% endif %}
{% if thesislink_search_list %}
Theses:
{% for thesislink in thesislink_search_list %}
{{ thesislink.header_as_li }}
{% endfor %}
{% endif %}
{% if comment_search_list %}
Comments:
{% for comment in comment_search_list %}
{{ comment.header_as_li }}
{% endfor %}
{% endif %}
{% endif %}
{% endblock bodysup %}