fix title for admin chat

pull/90/head
Aevann 2023-01-20 06:42:30 +02:00
parent fd27199c68
commit e6acc1cdd0
1 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,11 @@
{%- extends 'root.html' -%}
{% block pagetitle %}Chat{% endblock %}
{% block pagetitle -%}
{%- if request.path == '/admin/chat' -%}
Admin Chat
{%- else -%}
Chat
{%- endif -%}
{%- endblock %}
{% block pagetype %}chat{% endblock %}
{% block body %}
{% include "header.html" %}