Move description from title to paragraph

The description of events can be quite long: they contain a description
of what will happen during the event and what safety measures are taken.
This commit is contained in:
redfast00 2020-07-25 21:57:35 +02:00
parent 6466c51111
commit f7da5b5da2

View file

@ -9,13 +9,17 @@
<ul> <ul>
{% for x in events %} {% for x in events %}
<li id="{{x.event.id}}"> <li id="{{x.event.id}}">
<h3>{{ x.event.date|date:"d F Y" }}, {{ x.event.time_str }}{% if x.event.note %}: <b>{{ x.event.note }}</b>{% endif %} <h3>{{ x.event.date|date:"d F Y" }}, {{ x.event.time_str }}
{% if user.is_staff %} {% if user.is_staff %}
<a href="/admin/events/event/{{ x.event.id }}/change/">Edit</a> <a href="/admin/events/event/{{ x.event.id }}/change/">Edit</a>
{% endif %}</h3> {% endif %}</h3>
<p>Verantwoordelijke: {{ x.event.responsible_person.username }}</p> <p>Verantwoordelijke: {{ x.event.responsible_person.username }}</p>
{% if x.event.note %}
<p>Beschrijving: {{ x.event.note }}</p>
{% 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 %}