Weekends: Don't both showing 'home' when home.
This commit is contained in:
parent
80e12b77ce
commit
663dc479c2
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue