{% extends "django_tables2/table.html" %} {% load django_tables2 %} {% load i18n %} {% block table.thead %} Titre Date de création Date d'expiration {% endblock table.thead %} {% block table.tbody.row %} {# avoid cycle for Django 1.2-1.6 compatibility #} {{ row.record }} {{ row.record.created }} {{ row.record.expiration_date|date:"SHORT_DATE_FORMAT" }} {% block action-column %} {% if include_edit_link %} {% endif %} {% if row.record.deletable_by_user %} {% endif %} {% endblock %} {% if row.record.description %} {{row.record.description}} {% endif %} {% endblock table.tbody.row %} {% block pagination.cardinality %} {% endblock %} {% block table.tbody.empty_text %} {{ table.empty_text }} {% endblock %}