{% extends "lingo/invoicing/manager_regie_detail.html" %} {% load i18n %} {% block breadcrumb %} {{ block.super }} {{ object.label }} {% endblock %} {% block appbar %}

{{ object }}

{% if user_can_invoice and object.finalized and object.is_last %} {% trans "New corrective campaign" %} {% endif %} {% if user_can_invoice and not object.finalized and not has_running_pool and not has_real_pool %} {% endif %} {% endblock %} {% block content %} {% with logs=object.get_agenda_unlock_logs %} {% if logs %}

{% trans "Some agendas have been unlocked since the last run:" %}

{% if user_can_invoice and primary_campaign.finalized %} {% if has_running_corrective %} {% trans 'Add all agendas to current corrective campaign' %} {% else %} {% trans 'New corrective campaign with all agendas' %} {% endif %} {% endif %}
{% endif %} {% endwith %}
{% endblock %} {% block sidebar %} {% endblock %}