{% if user.is_authenticated() %}
  • {{ amo_user.welcome_name }} {% if account_links %} {% endif %}
  • {{ _('Log out') }}
  • {% else %}
  • {% if waffle.switch('browserid-login') %} {{ _('Log in / Register') }} {% else %} {% trans reg=url('users.register'), login=login_link() %} Register or Log in {% endtrans %} {% endif %}
  • {% endif %} {% if user.is_authenticated() %} {% if tools_links|count > 1 %}
  • {{ tools_title }}
  • {% elif tools_links %}
  • {{ tools_links[0].text }}
  • {% endif %} {% endif %}