Merge branch 'fix-wachtlijst-visual' into 'master'
Fix wachtlijst visual See merge request bestuur/kers!12
This commit is contained in:
commit
336691a0a5
2 changed files with 20 additions and 1 deletions
19
events/migrations/0003_auto_20200804_1734.py
Normal file
19
events/migrations/0003_auto_20200804_1734.py
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Generated by Django 3.0.8 on 2020-08-04 15:34
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
import django.db.models.deletion
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('events', '0002_auto_20200804_0004'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='eventregistration',
|
||||||
|
name='time_slot',
|
||||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='events.TimeSlot'),
|
||||||
|
),
|
||||||
|
]
|
|
@ -5,7 +5,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<p>{{ timeslot.time_str }}, {{ timeslot.count_admitted }}/{{ event.capacity }} bevestigd{% if timeslot.count_interested %},
|
<p>{{ timeslot.time_str }}, {{ timeslot.count_admitted }}/{{ event.capacity }} bevestigd{% if timeslot.count_interested %},
|
||||||
{{ event.count_interested }} op wachtlijst
|
{{ timeslot.count_interested }} op wachtlijst
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue