On améliore le titre en mode modération

This commit is contained in:
Jean-Marie Favreau 2025-02-08 19:43:00 +01:00
parent 14ab8627c3
commit 6099c3f032
3 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ Duplication de {% else %}
<div class="grid moderate-preview"> <div class="grid moderate-preview">
<div id="event-preview"> <div id="event-preview">
{% include "agenda_culturel/single-event/event-single-inc.html" with event=event nobuttons=1 %} {% include "agenda_culturel/single-event/event-single-inc.html" with event=event nobuttons=1 permalink=1 h=2 %}
{% with event.get_concurrent_events as concurrent_events %} {% with event.get_concurrent_events as concurrent_events %}
{% if concurrent_events %} {% if concurrent_events %}

View File

@ -43,7 +43,7 @@
<div class="grid moderate-preview"> <div class="grid moderate-preview">
<div id="event-preview"> <div id="event-preview">
{% include "agenda_culturel/single-event/event-single-inc.html" with event=event onlyedit=1 %} {% include "agenda_culturel/single-event/event-single-inc.html" with event=event onlyedit=1 permalink=1 h=2 %}
{% with event.get_concurrent_events as concurrent_events %} {% with event.get_concurrent_events as concurrent_events %}
{% if concurrent_events %} {% if concurrent_events %}

View File

@ -38,7 +38,7 @@
{% include "agenda_culturel/ephemeris-inc.html" with event=event filter=filter %} {% include "agenda_culturel/ephemeris-inc.html" with event=event filter=filter %}
<div class="details-entete"> <div class="details-entete">
{{ event.category | small_cat_recurrent:event.has_recurrences }} {{ event.category | small_cat_recurrent:event.has_recurrences }}
<h1>{{ event|picto_status }} {{ event.title }} {{ event|picto_visibility:user.is_authenticated }}</h1> {% if h %}<h{{ h }}>{% else %}<h1>{% endif %}{{ event|picto_status }} {% if permalink %}<a href="{{ event.get_absolute_url }}">{% endif %}{{ event.title }}{% if permalink %}</a>{% endif %} {{ event|picto_visibility:user.is_authenticated }}{% if h %}</h{{ h }}>{% else %}</h>h1>{% endif %}
<p> <p>
{% picto_from_name "calendar" %} {% picto_from_name "calendar" %}
{% if event.end_day and event.end_day != event.start_day %}du{% else %}le{% endif %} {% if event.end_day and event.end_day != event.start_day %}du{% else %}le{% endif %}