From 518b26ac57191bcd50aa26b5ab7e9faf368be6cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 25 Mar 2016 15:02:48 +0100 Subject: [PATCH] alfortville: add missing dg table template --- .../templates/alfortville/dg-table.html | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 welco/contrib/alfortville/templates/alfortville/dg-table.html diff --git a/welco/contrib/alfortville/templates/alfortville/dg-table.html b/welco/contrib/alfortville/templates/alfortville/dg-table.html new file mode 100644 index 0000000..a688d42 --- /dev/null +++ b/welco/contrib/alfortville/templates/alfortville/dg-table.html @@ -0,0 +1,49 @@ +{% extends "welco/base.html" %} +{% load i18n static %} + +{% block bodyargs %}class="mail-dg-table"{% endblock %} + +{% block breadcrumb %} +{{block.super}} +{{home_screen_title}} +{% endblock %} + +{% block content %} + +
+
+{% if source.get_queryset %} +
+ + + + + + + + +{% for object in mails %} + + + + + + +{% endfor %} + + +
{% trans 'Scan Date' %}{% trans 'User' %}{% trans 'Category' %}{% trans 'Related Forms' %}
{{object.creation_timestamp|date:"d F Y"|lower}}{{object.contact_name }}{{object.categories|join:", " }}{% for association in object.associations.all %}{{association.formdef_name}}{% if not forloop.last %}, {% endif %}{% endfor %}
+
+{%else %} +

+{% trans 'There is currently no mail in this list.' %} +

+{% endif %} +
+
+ +{% endblock %}