{% if user.is_authenticated %}
{% url 'django.contrib.auth.views.logout' as url_logout %}
{% url 'profile_edit' as url_edit %}
{% trans 'Welcome' %}, {{ user.first_name }}
{{ points }}
{{ badges }} Logout
{% blocktrans with request.path as rpath %}Welcome, please Login{% endblocktrans %} {% if OPPIA_ALLOW_SELF_REGISTRATION %} {% blocktrans %} or Register{% endblocktrans %} {% endif %}
{% endif %}