Compare commits

...

1 Commits

Author SHA1 Message Date
Frédéric Péters 7fafab3681 manager: redo <title> to be "page name | global name" (#69561)
gitea-wip/chrono/pipeline/head There was a failure building this commit Details
gitea/chrono/pipeline/head Something is wrong with the build of this commit Details
2023-01-10 17:20:05 +01:00
2 changed files with 2 additions and 9 deletions

View File

@ -1,9 +1,7 @@
{% extends "chrono/manager_home.html" %}
{% load i18n %}
{% block page-title-extra-label %}
- {% firstof agenda.label object.label %}
{% endblock %}
{% block page-title-extra-label %}{% firstof agenda.label object.label %}{% endblock %}
{% block appbar %}
<h2>{{ object.label }}</h2>

View File

@ -6,12 +6,7 @@
<script src="{% static 'js/chrono.manager.js' %}"></script>
{% endblock %}
{% block page-title %}
{% trans 'Agendas' as default_site_title %}
{% firstof site_title default_site_title %}
{% block page-title-extra-label %}
{% endblock %}
{% endblock %}
{% block page-title %}{% block page-title-extra-label %}{% trans 'Agendas' %}{% endblock %} | {% trans 'Agendas' as default_site_title %}{% firstof global_title default_site_title %}{% endblock %}
{% block site-title %}
{% trans 'Agendas' as default_site_title %}
{% firstof site_title default_site_title %}