mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 19:04:18 +00:00
19 lines
1.3 KiB
Django/Jinja
19 lines
1.3 KiB
Django/Jinja
{% set breadcrumbs %}
|
|
<li class="tab disabled"><i class="material-icons">navigate_next</i></li>
|
|
<li class="tab"><a href="{{ url_for('.index') }}" target="_self">Administration</a></li>
|
|
<li class="tab disabled"><i class="material-icons">navigate_next</i></li>
|
|
{% if request.path == url_for('.users') %}
|
|
<li class="tab"><a class="active" href="{{ url_for('.users') }}" target="_self">Users</a></li>
|
|
{% elif request.path == url_for('.user', user_id=user.id) %}
|
|
<li class="tab"><a href="{{ url_for('.users') }}" target="_self">Users</a></li>
|
|
<li class="tab disabled"><i class="material-icons">navigate_next</i></li>
|
|
<li class="tab"><a class="active" href="{{ url_for('.user', user_id=user.id) }}" target="_self">{{ user.username }}</a></li>
|
|
{% elif request.path == url_for('.edit_user', user_id=user.id) %}
|
|
<li class="tab"><a href="{{ url_for('.users') }}" target="_self">Users</a></li>
|
|
<li class="tab disabled"><i class="material-icons">navigate_next</i></li>
|
|
<li class="tab"><a href="{{ url_for('.user', user_id=user.id) }}" target="_self">{{ user.username }}</a></li>
|
|
<li class="tab disabled"><i class="material-icons">navigate_next</i></li>
|
|
<li class="tab"><a class="active" href="{{ url_for('.edit_user', user_id=user.id) }}" target="_self">Edit</a></li>
|
|
{% endif %}
|
|
{% endset %}
|