On corrige un affichage défectueux
This commit is contained in:
parent
f4416dd4e7
commit
d65d99f9ed
@ -17,9 +17,13 @@
|
||||
<p class="subentry-search">
|
||||
{% picto_from_name "repeat" %}
|
||||
<!-- TODO: see https://forge.chapril.org/jmtrivial/agenda_culturel/issues/65 -->
|
||||
depuis le {{ event.recurrences.dtstart.date }}{% for r in event.recurrences.rrules %},
|
||||
{{ r.to_text }}
|
||||
{% endfor %}
|
||||
{% for r in event.recurrences.rrules %}
|
||||
{{ r.to_text }}{% if not forloop.first %}, {% endif %}{% endfor %}, depuis le
|
||||
{% if event.recurrences.dtstart.date %}
|
||||
{{ event.recurrences.dtstart.date }}
|
||||
{% else %}
|
||||
{{ event.start_day }}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
<p class="subentry-search">
|
||||
|
@ -72,9 +72,8 @@
|
||||
<p class="footer">
|
||||
{% picto_from_name "repeat" %}
|
||||
<!-- TODO: see https://forge.chapril.org/jmtrivial/agenda_culturel/issues/65 -->
|
||||
depuis le {{ event.recurrences.dtstart.date }}{% for r in event.recurrences.rrules %},
|
||||
{{ r.to_text }}
|
||||
{% endfor %}
|
||||
{% for r in event.recurrences.rrules %}
|
||||
{{ r.to_text }}{% if not forloop.first %}, {% endif %}{% endfor %}, depuis le {{ event.recurrences.dtstart.date }}
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user