{%- from theme("macros.html") import is_active, topnav with context -%} {{ emit_event("before-first-navigation-element") }} {{ topnav(endpoint='forum.index', name=_('Forum'), icon='fa fa-comment', active=active_forum_nav) }} {{ topnav(endpoint='forum.memberlist', name=_('Memberlist'), icon='fa fa-user') }} {{ topnav(endpoint='forum.search', name=_('Search'), icon='fa fa-search') }} {{ emit_event("after-last-navigation-element") }}
    {% if current_user and current_user.is_authenticated() %}
  • Inbox {{ current_user.unread_count }}
      {% for message in current_user.unread_messages %}
    • {{ message.from_user.username }} {{ message.last_message.date_created|time_since }}
      {{ message.subject }}
    • {% else %}
    • No unread messages.
    • {% endfor %}
    • {% trans %}Inbox{% endtrans %}
    • {% trans %}New Message{% endtrans %}
  • {{ current_user.username }}
    • {% trans %}Topic Tracker{% endtrans %}
    • {% trans %}Settings{% endtrans %}
    • {% if current_user|is_admin_or_moderator %}
    • {% trans %}Management{% endtrans %}
    • {% endif %}
    • {% trans %}Logout{% endtrans %}
  • {% else %}
  • {% trans %}Login{% endtrans %}
    • {% trans %}Register{% endtrans %}
    • {% trans %}Reset Password{% endtrans %}
  • {% endif %}