{% load i18n dashboard gnm %} {% if user.is_authenticated %} {% if not in_dashboard %} {% with tile=cell|airquality_hack:request|as_dashboard_cell:request.user %} {% if tile %} {% else %} {% endif %} {% endwith %} {% else %} {% endif %} {% else %} {# not user.is_authenticated #} {% endif %}