{# -*- mode: jinja-html -*- #}
{% extends 'base.html' %}

{% block app_content %}
    <div class="container">
        <ul class="breadcrumbs">
            <li class="breadcrumbs_item">
                <a href="{{ url_for('entreprises.index') }}" class="breadcrumbs_link">Entreprises</a>
            </li>
            <li class="breadcrumbs_item">
                <a href="{{ url_for('entreprises.fiche_entreprise', entreprise_id=entreprise.id) }}" class="breadcrumbs_link">Fiche entreprise</a>
            </li>
            <li class="breadcrumbs_item">
                <a href="" class="breadcrumbs_link breadcrumbs_link-active">Offres expirées</a>
            </li>
        </ul>
    </div>

    <div class="container">
        <h1>Offres expirées - {{ entreprise.nom }}</h1>
        {% if offres_expirees %}
            {% for offre, files, offre_depts, correspondant in offres_expirees %}
                {% include 'entreprises/_offre.html' %}
            {% endfor %}
        {% else %}
            <div>Aucune offre expirées</div>
        {% endif %}
    </div>
{% endblock %}