Merge branch 'fix-wachtlijst-visual' into 'master'

Fix wachtlijst visual

See merge request bestuur/kers!12
This commit is contained in:
flynn 2020-08-04 18:30:43 +02:00
commit 336691a0a5
2 changed files with 20 additions and 1 deletions

View 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'),
),
]

View file

@ -5,7 +5,7 @@
{% endif %}
{% csrf_token %}
<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 %}
</p>