Added notifications/messages to page-title

This commit is contained in:
Richard Schreiber
2021-02-11 17:24:05 +01:00
parent b9c9a03cdd
commit 518c1fbbf2

View File

@@ -6,6 +6,9 @@
{% load safelink %} {% load safelink %}
{% load rich_text %} {% load rich_text %}
{% block thetitle %} {% block thetitle %}
{% if messages %}
{{ messages|join:" " }} ::
{% endif %}
{% block title %}{% endblock %}{% if request.resolver_match.url_name != "event.index" %} :: {% endif %}{{ event.name }} {% block title %}{% endblock %}{% if request.resolver_match.url_name != "event.index" %} :: {% endif %}{{ event.name }}
{% endblock %} {% endblock %}
{% block custom_header %} {% block custom_header %}