From a452634da4e575150fecbd7b1d41d4af9537fc23 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Fri, 29 Dec 2023 22:05:06 +0000 Subject: [PATCH] Add more badges to conferences --- templates/conference_list.html | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/templates/conference_list.html b/templates/conference_list.html index 14c3560..0190d94 100644 --- a/templates/conference_list.html +++ b/templates/conference_list.html @@ -23,10 +23,16 @@
{{ item.start.strftime("%a, %d %b %Y") }}
{{ item.end.strftime("%a, %d %b") }}
{{ item.name }} - {% if item.going %} - - {{ badge }} - + {% if item.going and not (item.accommodation_booked or item.travel_booked) %} + + {{ badge }} + + {% endif %} + {% if item.accommodation_booked %} + accommodation + {% endif %} + {% if item.transport_booked %} + transport {% endif %}
{{ item.topic }}