Add more badges to conferences
This commit is contained in:
parent
888c9106b0
commit
a452634da4
|
@ -23,11 +23,17 @@
|
||||||
<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 %}
|
{% 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 %}
|
||||||
</div>
|
</div>
|
||||||
<div class="grid-item">{{ item.topic }}</div>
|
<div class="grid-item">{{ item.topic }}</div>
|
||||||
<div class="grid-item">{{ item.location }}</div>
|
<div class="grid-item">{{ item.location }}</div>
|
||||||
|
|
Loading…
Reference in a new issue