{% if user.is_authenticated() %}
  • {{ user.welcome_name }}
  • {% else %}
  • {% trans reg=register_link(), login=login_link() %} Register or Log in {% endtrans %}
  • {% endif %} {% if user.is_authenticated() %} {% if tools_links|count > 1 %}
  • {{ tools_title }}
  • {% elif tools_links %}
  • {{ tools_links[0].text }}
  • {% endif %} {% endif %}