Verified Commit e6d77ace authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Hide registration period info when not available

parent 1a5e3a9c
...@@ -71,10 +71,14 @@ ...@@ -71,10 +71,14 @@
<dd>{{ event.start }} <br>— {{ event.end }}</dd> <dd>{{ event.start }} <br>— {{ event.end }}</dd>
<dt>{% trans "organiser"|capfirst %}</dt> <dt>{% trans "organiser"|capfirst %}</dt>
<dd>{{ event.organiser }}</dd> <dd>{{ event.organiser }}</dd>
{% if event.registration_start %}
<dt>{% trans "registration period"|capfirst %}</dt> <dt>{% trans "registration period"|capfirst %}</dt>
<dd>{{ event.registration_start }} <br>— {{ event.registration_end }}</dd> <dd>{{ event.registration_start }} <br>— {{ event.registration_end }}</dd>
{% endif %}
{% if event.cancel_deadline %}
<dt>{% trans "cancel deadline"|capfirst %}</dt> <dt>{% trans "cancel deadline"|capfirst %}</dt>
<dd>{{ event.cancel_deadline }}</dd> <dd>{{ event.cancel_deadline }}</dd>
{% endif %}
<dt>{% trans "location"|capfirst %}</dt> <dt>{% trans "location"|capfirst %}</dt>
<dd>{{ event.location }} ({{ event.map_location }})</dd> <dd>{{ event.location }} ({{ event.map_location }})</dd>
<dt>{% trans "price"|capfirst %}</dt> <dt>{% trans "price"|capfirst %}</dt>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment