manager: fix page-title-extra-label (#85941)
gitea/chrono/pipeline/head This commit looks good Details

This commit is contained in:
Lauréline Guérin 2024-01-22 17:02:47 +01:00
parent 072313556c
commit 99327fb3bf
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
8 changed files with 26 additions and 2 deletions

View File

@ -1,6 +1,10 @@
{% extends "chrono/manager_category_list.html" %}
{% load i18n %}
{% block page-title-extra-label %}
{% if object.pk %}{{ object.label }}{% else %}{{ block.super }}{% endif %}
{% endblock %}
{% block breadcrumb %}
{{ block.super }}
{% if object.pk %}

View File

@ -1,6 +1,10 @@
{% extends "chrono/manager_base.html" %}
{% load i18n %}
{% block page-title-extra-label %}
{% trans "Categories" %}
{% endblock %}
{% block breadcrumb %}
{{ block.super }}
<a href="{% url 'chrono-manager-category-list' %}">{% trans "Categories" %}</a>

View File

@ -1,6 +1,10 @@
{% extends "chrono/manager_events_type_list.html" %}
{% load i18n %}
{% block page-title-extra-label %}
{% if object.pk %}{{ object.label }}{% else %}{{ block.super }}{% endif %}
{% endblock %}
{% block breadcrumb %}
{{ block.super }}
{% if object.pk %}

View File

@ -1,6 +1,10 @@
{% extends "chrono/manager_base.html" %}
{% load i18n %}
{% block page-title-extra-label %}
{% trans "Events types" %}
{% endblock %}
{% block breadcrumb %}
{{ block.super }}
<a href="{% url 'chrono-manager-events-type-list' %}">{% trans "Events types" %}</a>

View File

@ -2,7 +2,7 @@
{% load i18n %}
{% block page-title-extra-label %}
- {{ resource.label }}
{{ resource.label }}
{% endblock %}
{% block breadcrumb %}

View File

@ -1,6 +1,10 @@
{% extends "chrono/manager_base.html" %}
{% load i18n %}
{% block page-title-extra-label %}
{% trans "Resources" %}
{% endblock %}
{% block breadcrumb %}
{{ block.super }}
<a href="{% url 'chrono-manager-resource-list' %}">{% trans "Resources" %}</a>

View File

@ -2,7 +2,7 @@
{% load i18n %}
{% block page-title-extra-label %}
- {{ unavailability_calendar.label }}
{{ unavailability_calendar.label }}
{% endblock %}
{% block breadcrumb %}

View File

@ -1,6 +1,10 @@
{% extends "chrono/manager_base.html" %}
{% load i18n %}
{% block page-title-extra-label %}
{% trans "Unavailability Calendars" %}
{% endblock %}
{% block breadcrumb %}
{{ block.super }}
<a href="{% url 'chrono-manager-unavailability-calendar-list' %}">{% trans "Unavailability Calendars" %}</a>