{% load i18n %}
<li><hr class="dropdown-divider"></li>
{% for label, tid in schema.notify.items %}
    {% if tid == '_self' %}
    <li><a class="dropdown-item" href="{% url 'app_sirene:new_message' instance.id %}">{{ label }}</a></li>
    {% elif tid == '_template' %}
    <li><a class="dropdown-item" href="{% url 'app_sirene:template_picker' instance.id %}">{{ label }}</a></li>
    {% elif not tid %}
    <li><a class="dropdown-item" href="{% url 'app_sirene:new_message' %}">{{ label }}</a></li>
    {% else %}
    <li><a class="dropdown-item" href="{% url 'app_sirene:new_message' tid instance.id %}">{{ label }}</a></li>
    {% endif %}
{% endfor %}