diff options
Diffstat (limited to 'ogcp/templates')
-rw-r--r-- | ogcp/templates/base.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html index 9d53d5c..f11ad5f 100644 --- a/ogcp/templates/base.html +++ b/ogcp/templates/base.html @@ -36,10 +36,10 @@ <li class="nav-item {% block nav_images%}{% endblock %}"> <a class="nav-link" href="{{ url_for('images') }}">{{ _('Images') }}</a> </li> + {% if current_user.admin %} <li class="nav-item {% block nav_servers %}{% endblock %}"> <a class="nav-link" href="{{ url_for('manage_servers') }}">{{ _('Servers') }}</a> </li> - {% if current_user.admin %} <li class="nav-item {% block nav_users %}{% endblock %}"> <a class="nav-link" href="{{ url_for('users') }}">{{ _('Users') }}</a> </li> |