Weekends: Don't both showing 'home' when home.

This commit is contained in:
Edward Betts 2025-07-16 04:30:13 +02:00
parent 80e12b77ce
commit 663dc479c2

View file

@ -48,7 +48,7 @@
{% if extra_class %}<td class="{{ extra_class|trim }}">{% else %}<td>{% endif %} {% if extra_class %}<td class="{{ extra_class|trim }}">{% else %}<td>{% endif %}
{% set city, country = weekend[day + '_location'] %} {% set city, country = weekend[day + '_location'] %}
{% if city == "Bristol" and country.alpha_2 | upper == "GB" %} {% if city == "Bristol" and country.alpha_2 | upper == "GB" %}
<strong>home</strong> {# <strong>home</strong> #}
{% else %} {% else %}
{{ city }}, {{ country.flag }} {{ country.name }} {{ city }}, {{ country.flag }} {{ country.name }}
{% endif %} {% endif %}