Use None in place of "Bristol" for home
Also fix some more location bugs.
This commit is contained in:
parent
eb65f720bf
commit
02350ef4db
3 changed files with 60 additions and 46 deletions
|
|
@ -47,9 +47,7 @@
|
|||
</td>
|
||||
{% if extra_class %}<td class="{{ extra_class|trim }}">{% else %}<td>{% endif %}
|
||||
{% set city, country = weekend[day + '_location'] %}
|
||||
{% if city == "Bristol" and country.alpha_2 | upper == "GB" %}
|
||||
{# <strong>home</strong> #}
|
||||
{% else %}
|
||||
{% if city %}
|
||||
{{ city }}, {{ country.flag }} {{ country.name }}
|
||||
{% endif %}
|
||||
</td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue