{# the grid's "head" area: the bar + the sub-heading under it #}
{{ nav_btns() }}
{% set cur = v.tabs | selectattr("on") | first %}
{{ title_block("Weather", "/weather" ~ (("?loc=" ~ cur.idx) if cur and cur.idx else "")) }}
{{ settings_btn("weather") }}
{% if v.tabs|length > 1 %}{# the place: click → the other places (no browser dialogs) #}
{{ v.location }} ▾