ScoDocMM/app/templates/entreprises/offres_expirees.html

16 lines
490 B
HTML

{# -*- mode: jinja-html -*- #}
{% extends 'base.html' %}
{% block app_content %}
<div class="container">
<h1>Offres expirées de {{ entreprise.nom }}</h1>
{% if offres_expirees %}
{% for offre in offres_expirees%}
Offre {{loop.index}} (ajouté le {{offre[0].date_ajout.strftime('%d/%m/%Y') }})
{% include 'entreprises/_offre.html' %}
{% endfor %}
{% else %}
<div>Aucune offre expirées</div>
{% endif %}
</div>
{% endblock %}