diff options
-rw-r--r-- | ogcp/templates/base.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html index f11ad5f..2d9b9f8 100644 --- a/ogcp/templates/base.html +++ b/ogcp/templates/base.html @@ -27,9 +27,6 @@ <li class="nav-item {% block nav_dashboard%}{% endblock %}"> <a class="nav-link" href="{{ url_for('index') }}">{{ _('Dashboard') }}<span class="sr-only">(current)</span></a> </li> - <li class="nav-item {% block nav_scopes%}{% endblock %}"> - <a class="nav-link" href="{{ url_for('scopes') }}">{{ _('Scopes') }}</a> - </li> <li class="nav-item {% block nav_commands%}{% endblock %}"> <a class="nav-link" href="{{ url_for('commands') }}">{{ _('Commands') }}</a> </li> @@ -37,6 +34,9 @@ <a class="nav-link" href="{{ url_for('images') }}">{{ _('Images') }}</a> </li> {% if current_user.admin %} + <li class="nav-item {% block nav_scopes%}{% endblock %}"> + <a class="nav-link" href="{{ url_for('scopes') }}">{{ _('Scopes') }}</a> + </li> <li class="nav-item {% block nav_servers %}{% endblock %}"> <a class="nav-link" href="{{ url_for('manage_servers') }}">{{ _('Servers') }}</a> </li> |