Reorder event list item info a bit
This commit is contained in:
parent
aaabde9be3
commit
6d6e12a999
2 changed files with 4 additions and 5 deletions
|
@ -9,10 +9,10 @@
|
|||
<ul>
|
||||
{% for x in events %}
|
||||
<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 %}
|
||||
{% if user.is_staff %}
|
||||
<a href="/admin/events/event/{{ x.event.id }}/change/">Edit</a>
|
||||
{% endif %}
|
||||
{{ 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 %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
|
|
@ -2,11 +2,10 @@
|
|||
{% csrf_token %}
|
||||
<p>Verantwoordelijke: {{ event.responsible_person.username }}</p>
|
||||
|
||||
<p>{{ event.count_admitted }}/{{ event.capacity }} bevestigd</p>
|
||||
|
||||
{% if event.count_interested %}
|
||||
<p>{{ event.count_interested }} in wachtlijst</p>
|
||||
<p>{{ event.count_admitted }}/{{ event.capacity }} bevestigd{% if event.count_interested %},
|
||||
{{ event.count_interested }} op wachtlijst
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
{% if not user.is_authenticated %}
|
||||
<p>Je moet inloggen voor je je kan inschrijven.</p>
|
||||
|
|
Loading…
Reference in a new issue