{% extends "base_list_view.html" %} {% load thumbnail %} {% block extra_title %} Documents {% if object %} - {{ object.title }} {% else %} {% if current_category %} - {{ current_category.title }} {% endif %} {% endif %} {% endblock extra_title %} {% block breadcrumb %}
  • Documents
  • {% block extra_breadcrumb %} {% endblock extra_breadcrumb %} {% endblock %} {% block h1_title %} Documents {% endblock h1_title %} {% block h2_title %}

    Documents List

    {{ block.super }} {% endblock h2_title %} {% block app_content %} {% for document in object_list %}
  • {% if document.image %} {% thumbnail document.image.file "280x280" crop="center" as thumb %} {{ document.title }} {% endthumbnail %} {% elif document.valid_image %} {% thumbnail document.document "280x280" crop="center" as thumb %} {{ document.title }} {% endthumbnail %} {% endif %} {% include "includes/render_list_object.html" with published=document.created_at obj=document hide_thumb=True %}
  • {% empty %}

    No documents available.

    {% endfor %} {% endblock app_content %}