diff --git a/templates/trip/list.html b/templates/trip/list.html index b08a3cb..07dad88 100644 --- a/templates/trip/list.html +++ b/templates/trip/list.html @@ -8,42 +8,71 @@ +{% set conference_column_count = 8 %} +{% set accommodation_column_count = 8 %} +{% set travel_column_count = 10 %} {% endblock %} @@ -87,8 +116,40 @@ {% endfor %} {% endif %} - {{ conference_list(trip) }} + {% for item in trip.conferences %} + {% set country = get_country(item.country) if item.country else None %} +
+ Topic: {{ item.topic }} + | Venue: {{ item.venue }} + | Location: {{ item.location }} + {% if country %} + {{ country.flag }} + {% elif item.online %} + 💻 Online + {% else %} + + country code {{ item.country }} not found + + {% endif %} + {% if item.free %} + | free to attend + {% elif item.price and item.currency %} + | price: {{ item.price }} {{ item.currency }} + {% endif %} +
+- Topic: {{ item.topic }} - | Venue: {{ item.venue }} - | Location: {{ item.location }} - {% if country %} - {{ country.flag }} - {% elif item.online %} - 💻 Online - {% else %} - - country code {{ item.country }} not found - - {% endif %} - {% if item.free %} - | free to attend - {% elif item.price and item.currency %} - | price: {{ item.price }} {{ item.currency }} - {% endif %} -
-