summaryrefslogtreecommitdiff
path: root/template.jinja
diff options
context:
space:
mode:
authorMagnus Hagander2019-08-14 12:11:44 +0000
committerMagnus Hagander2019-08-14 12:11:44 +0000
commit5ec8a943c9ed98f99ca96855c8ebf0dbaf838d85 (patch)
treec6ac6a1978b32cf6ca014ea10cb8546f564576be /template.jinja
parent04557b6dd3576ea5995f91b40b3341708798936d (diff)
Make it possible for an additional option to add days to a registration
Even if the registration dype normally doesn't include a specific day, it can be added by picking an additional option. This is currently accounted for in the registration dashboard page and in the report of number of attendees per day, but can also be useful information when rendering badges.
Diffstat (limited to 'template.jinja')
-rw-r--r--template.jinja/confreg/registration_dashboard.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/template.jinja/confreg/registration_dashboard.html b/template.jinja/confreg/registration_dashboard.html
index c795084d..7ddc67d6 100644
--- a/template.jinja/confreg/registration_dashboard.html
+++ b/template.jinja/confreg/registration_dashboard.html
@@ -146,10 +146,10 @@ spamfilters.
<dl>
<dt>Registration type</dt>
<dd>Your registration type is <i>{{reg.regtype}}</i>.
-{%if reg.regtype.days.count() %}
-This registration type gives you access to the conference on {{reg.regtype.available_days}}.
+{%if reg.access_days %}
+ <dt>Access days</dt>
+ <dd>Your registration gives you access to the conference on {{reg.access_days}}.</dd>
{%endif%}
- </dd>
{%if conference.tickets %}
<dt>Ticket</dt>
<dd>You can download <a href="{{redir_root}}ticket/">your ticket</a> and bring to the conference