{% if user.is_authenticated() %}
  • {{ (request.amo_user.welcome_name) }}
  • {% if waffle.switch('marketplace') %}
  • {{ _('My Purchases') }}
  • {% endif %}
  • {{ _('Log out') }}
  • {% else %} {% if waffle.switch('browserid-login') %}
  • {{ loc('Log in / Register') }}
  • {% else %} {% if not settings.APP_PREVIEW %}
  • {{ _('Register') }}
  • {% endif %}
  • {{ _('Log in') }}
  • {% endif %} {% endif %}