nopaque/web/app/templates/auth/_breadcrumbs.html.j2

15 lines
945 B
Django/Jinja

{% set breadcrumbs %}
<li class="tab disabled"><i class="material-icons">navigate_next</i></li>
{% if request.path == url_for('.login') %}
<li class="tab"><a class="active" href="{{ url_for('.login') }}" target="_self">{{ title }}</a></li>
{% elif request.path == url_for('.register') %}
<li class="tab"><a class="active" href="{{ url_for('.register') }}" target="_self">{{ title }}</a></li>
{% elif request.path == url_for('.reset_password', token=token) %}
<li class="tab"><a class="active" href="{{ url_for('.reset_password', token=token) }}" target="_self">{{ title }}</a></li>
{% elif request.path == url_for('.reset_password_request') %}
<li class="tab"><a class="active" href="{{ url_for('.reset_password_request') }}" target="_self">{{ title }}</a></li>
{% elif request.path == url_for('.unconfirmed') %}
<li class="tab"><a class="active" href="{{ url_for('.unconfirmed') }}" target="_self">{{ title }}</a></li>
{% endif %}
{% endset %}