{% extends "admin/core/base.html" %} {% load classname %} {% load fqdn %} {% block title %}Article List{% endblock title %} {% block title-section %}Article List{% endblock %} {% block title-sub %}A list of articles that can be filtered to perform batch actions.{% endblock %} {% block breadcrumbs %} {{ block.super }}
  • Manager
  • {% endblock %} {% block body %}

    Results

    {{ page_obj.paginator.count }} record{{ page_obj.paginator.count|pluralize }}

    {% for article in article_list %} {% empty %} {% endfor %}
    ID Title Authors Journal Stage Pub Date
    {{ article.pk }} {% if article.stage and article.stage != 'Rejected' and article.stage != 'Published' %} {{ article.safe_title }} {% else %} {{ article.safe_title }} {% endif %} {{ article.author_list }} {{ article.journal.name }} {{ article.stage }} {% if article.stage == 'Published' %} {{ article.date_published }} {% endif %}
    No articles to show.
    {% include "common/elements/pagination.html" with form_id=facet_form.id %}
    {% if facet_form.fields %}

    Filters

    {% for field in facet_form %}
    {{ field.label }} {% with field.field.widget|classname as widgetclass %} {% if widgetclass == 'CheckboxSelectMultiple' %} {% for checkbox in field %} {% endfor %} {% elif widgetclass == 'HTMLDateInput' %} {{ field }} {% endif %} {% endwith %}
    {% endfor %}
    {% endif %} {% if actions %}

    Actions

    {% csrf_token %}
    {% for action in actions %} {% endfor %}
    {% endif %}
    {% endblock body %}