Merge branch 'better-eventview' into 'master'
Move description from title to paragraph See merge request bestuur/kers!3
This commit is contained in:
commit
d107409619
1 changed files with 5 additions and 1 deletions
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue