Update GodotCon event and optionally display registration and entrance fee fields

This commit is contained in:
Emi
2023-10-30 12:50:19 +01:00
parent fc8575881f
commit 4ceca41d87
4 changed files with 12 additions and 4 deletions

View File

@@ -82,8 +82,15 @@
<ul class="event-details">
<li><strong>Date:</strong> {{ event.dates }}</li>
<li><strong>Location:</strong> {{ event.location | markdownify }}{% unless event.location_map == empty %} (<a href="{{ event.location_map }}">Show on map</a>){% endunless %}</li>
{% if event.entrance_fee %}
<li><strong>Entrance fee:</strong> {{ event.entrance_fee | markdownify }}</li>
{% endif %}
{% if event.registration %}
<li><strong>Registration:</strong> {{ event.registration | markdownify }}</li>
{% endif %}
{% if event.website %}
<li><strong>Website:</strong> <a href="{{ event.website }}">{{ event.website }}</a></li>
{% endif %}
</ul>
</div>