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