diff --git a/src/agenda_culturel/static/style.scss b/src/agenda_culturel/static/style.scss index 4947696..38fe13a 100644 --- a/src/agenda_culturel/static/style.scss +++ b/src/agenda_culturel/static/style.scss @@ -1434,6 +1434,17 @@ img.preview { } } +.header-complement { + float: none; +} + +@media only screen and (min-width: 992px) { + .header-complement { + float: left; + clear: both; + } +} + form.messages div, form.moderation-events { @media only screen and (min-width: 992px) { display: grid; diff --git a/src/agenda_culturel/templates/agenda_culturel/single-event/event-elegant-inc.html b/src/agenda_culturel/templates/agenda_culturel/single-event/event-elegant-inc.html index 74bf724..057e2c8 100644 --- a/src/agenda_culturel/templates/agenda_culturel/single-event/event-elegant-inc.html +++ b/src/agenda_culturel/templates/agenda_culturel/single-event/event-elegant-inc.html @@ -6,7 +6,11 @@
- {% if day != 0 %} + {% if day == 0 %} +
+ {% include "agenda_culturel/ephemeris-inc.html" with event=event filter=filter %} +
+ {% else %} {% if event|can_show_start_time:day %} {% if event.start_time %}
@@ -22,7 +26,7 @@ {% endif %} {% endif %} {% endif %} - +
{{ event.category | small_cat_recurrent:event.has_recurrences }} {% if event.location or event.exact_location %}
{% endif %} @@ -50,11 +54,7 @@
{% endif %} - {% if day == 0 %} -
- {% include "agenda_culturel/ephemeris-inc.html" with event=event filter=filter %} -
- {% endif %} + {% if event|need_complete_display:True %}

{% picto_from_name "calendar" %} @@ -86,12 +86,13 @@

{% endif %}
+ +
{% if perms.agenda_culturel.change_event %} {% include "agenda_culturel/edit-buttons-inc.html" with event=event %} {% endif %}
-