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 %}