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:
parent
6466c51111
commit
f7da5b5da2
1 changed files with 5 additions and 1 deletions
|
@ -9,13 +9,17 @@
|
|||
<ul>
|
||||
{% for x in events %}
|
||||
<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 %}
|
||||
<a href="/admin/events/event/{{ x.event.id }}/change/">Edit</a>
|
||||
{% endif %}</h3>
|
||||
|
||||
<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 %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue