welco/welco/contrib/alfortville/templates/alfortville/mail-table-waiting.html

46 lines
1.2 KiB
HTML

{% extends "welco/base.html" %}
{% load i18n static %}
{% block bodyargs %}class="mail-table mail-table-waiting"{% endblock %}
{% block content %}
<div class="source-mail all">
<div class="cell document top">
{% if objects %}
<h2>{% trans 'Pending Mails' %}</h2>
<div>
<table class="main">
<thead>
<th>{% trans 'Post Date' %}</th>
<th>{% trans 'Reference' %}</th>
<th>{% trans 'Subject' %}</th>
<th>{% trans 'Related Forms' %}</th>
<th>{% trans 'Status' %}</th>
</thead>
<tbody>
{% for object in objects %}
<tr>
<td>{{object.post_date|default:'-'}}</td>
<td>{{object.reference|default:'-'}}</td>
<td>{{object.subject|default:'-'}}</td>
<td>{% for association in object.associations.all %}{{association.formdef_name}}{% if not forloop.last %}, {% endif %}{% endfor %}</td>
<td>{% if object.status == 'done-qualif' %}En attente de validation DGS
{% elif object.status == 'done-dgs' %}En attente de validation DGA
{% else %}En attente de qualification
{% endif %}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{%else %}
<p class="no-mail-table">
{% trans 'There is currently no mail in this list.' %}
</p>
{% endif %}
</div>
</div>
{% endblock %}