Add 'free' badge to conferences

This commit is contained in:
Edward Betts 2024-04-17 11:49:18 +01:00
parent e2afe0ffa4
commit d28e172a8c

View file

@ -32,6 +32,8 @@
<div class="grid-item text-end">
{% if item.price and item.currency %}
<span class="badge bg-info text-nowrap">{{ "{:,d}".format(item.price | int) }} {{ item.currency }}</span>
{% elif item.free %}
<span class="badge bg-success text-nowrap">free to attend</span>
{% endif %}
</div>
<div class="grid-item">{{ item.topic }}</div>