{% extends "base.html" %}
{% block style %}
{% set column_count = 7 %}
{% endblock %}
{% macro row(item, badge) %}
{% set country = get_country(item.country) if item.country else None %}
{{ item.start.strftime("%a, %d %b %Y") }}
{{ item.end.strftime("%a, %d %b") }}
{{ item.name }}
{% 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 }}
{{ item.location }}
{% if country %}
{{ country.flag }} {{ country.name }}
{% elif item.online %}
💻 Online
{% else %}
country code {{ item.country }} not found
{% endif %}