mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Add new navigation entries.
This commit is contained in:
parent
30f405bb88
commit
6bbfc589af
@ -58,10 +58,18 @@
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
<li><a href="{{ url_for('main.index') }}"><i class="material-icons">opacity</i>Opaque</a></li>
|
||||
<li><a href="{{ url_for('main.index') }}"><i class="material-icons">opacity</i>Portal</a></li>
|
||||
<li><a href="{{ url_for('main.about') }}"><i class="material-icons">info</i>About</a></li>
|
||||
{% if current_user.is_authenticated %}
|
||||
<li><div class="divider"></div></li>
|
||||
<li><a class="subheader">Account</a></li>
|
||||
<li><a href="#!"><i class="material-icons">dashboard</i>Dashboard</a></li>
|
||||
<li><a href="{{ url_for('auth.settings') }}"><i class="material-icons">settings</i>Settings</a></li>
|
||||
{% endif %}
|
||||
{% if current_user.is_administrator() %} <!-- Shows only for admins -->
|
||||
<li><a href="{{ url_for('main.for_admins_only') }}"><i class="material-icons">build</i>Administration</a></li>
|
||||
<li><div class="divider"></div></li>
|
||||
<li><a class="subheader">Administration</a></li>
|
||||
<li><a href="{{ url_for('main.for_admins_only') }}"><i class="material-icons">build</i>Administration tools</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</header>
|
||||
|
Loading…
Reference in New Issue
Block a user