Add more badges to conferences

This commit is contained in:
Edward Betts 2023-12-29 22:05:06 +00:00
parent 888c9106b0
commit a452634da4

View file

@ -23,10 +23,16 @@
<div class="grid-item text-end">{{ item.start.strftime("%a, %d %b %Y") }}</div> <div class="grid-item text-end">{{ item.start.strftime("%a, %d %b %Y") }}</div>
<div class="grid-item text-end">{{ item.end.strftime("%a, %d %b") }}</div> <div class="grid-item text-end">{{ item.end.strftime("%a, %d %b") }}</div>
<div class="grid-item">{{ item.name }} <div class="grid-item">{{ item.name }}
{% if item.going %} {% if item.going and not (item.accommodation_booked or item.travel_booked) %}
<span class="badge text-bg-success"> <span class="badge text-bg-primary">
{{ badge }} {{ badge }}
</span> </span>
{% endif %}
{% if item.accommodation_booked %}
<span class="badge text-bg-success">accommodation</span>
{% endif %}
{% if item.transport_booked %}
<span class="badge text-bg-success">transport</span>
{% endif %} {% endif %}
</div> </div>
<div class="grid-item">{{ item.topic }}</div> <div class="grid-item">{{ item.topic }}</div>