manager: fix breadcrumbs for agenda settings forms (#54211)

This commit is contained in:
Lauréline Guérin 2021-05-21 14:27:21 +02:00
parent f5a6eb9b2f
commit 559131e62e
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
3 changed files with 7 additions and 1 deletions

View File

@ -3,7 +3,6 @@
{% block breadcrumb %}
{{ block.super }}
<a href="{% url 'chrono-manager-agenda-view' object.pk %}">{{ object }}</a>
<a href="{% url 'chrono-manager-agenda-settings' object.pk %}">{% trans 'Settings' %}</a>
<a href="{% url 'chrono-manager-agenda-edit' object.pk %}">{{ title }}</a>
{% endblock %}

View File

@ -3,6 +3,7 @@
{% block breadcrumb %}
{{ block.super }}
<a href="{% url 'chrono-manager-agenda-settings' agenda.pk %}">{% trans 'Settings' %}</a>
<a href="">{% trans "Notification settings" %}</a>
{% endblock %}

View File

@ -6,6 +6,12 @@
{{ form.media }}
{% endblock %}
{% block breadcrumb %}
{{ block.super }}
<a href="{% url 'chrono-manager-agenda-settings' agenda.pk %}">{% trans 'Settings' %}</a>
<a href="">{% trans "Manage exception sources" %}</a>
{% endblock %}
{% block appbar %}
<h2>{% trans "Manage exception sources" %}</h2>
{% endblock %}