{%- set active_path = request.url.path if request else '' -%} {% with href="/installs", label="Installs", active=(active_path in ('/', '/installs')) %} {% include "components/nav_link.html" %} {% endwith %} {% with href="/dashboard", label="Dashboard", active=(active_path == '/dashboard') %} {% include "components/nav_link.html" %} {% endwith %} {% with href="/review", label="Review", active=(active_path == '/review'), badge_count=review_count %} {% include "components/nav_link.html" %} {% endwith %} {% with href="/settings/purposes", label="Purposes", active=(active_path.startswith('/settings')), badge_count=0 %} {% include "components/nav_link.html" %} {% endwith %}
{% block content %}{% endblock %}