Add notes to event list view

This commit is contained in:
Maxime Bloch 2020-07-25 02:37:05 +02:00
parent 1aaa3f68d4
commit eaa154f829

View file

@ -8,7 +8,7 @@
{% if events %} {% if events %}
<ul> <ul>
{% for x in events %} {% for x in events %}
<li id="{{x.event.id}}">{{ x.event.date|date:"d F Y" }}, {{ x.event.time_str }} <li id="{{x.event.id}}">{{ x.event.date|date:"d F Y" }}, {{ x.event.time_str }}{% if x.event.note %}, <b>{{ x.event.note }}</b>{% endif %}
{% include "events/registrations.html" with event=x.event my_registration=x.my_registration %} {% include "events/registrations.html" with event=x.event my_registration=x.my_registration %}
</li> </li>
{% endfor %} {% endfor %}