{% load spirit_tags i18n %} {% load_settings 'LOGIN_URL' %}
{% if user.is_authenticated %} {% has_topic_notifications user as has_notifications %} {% spaceless %} {% endspaceless %}
{% else %} {% trans "Log in" %} {% endif %} {% render_messages messages %}