diff options
author | Javier Hernandez <jhernandez@soleta.eu> | 2023-12-15 12:03:46 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2023-12-15 12:06:27 +0100 |
commit | 6cb7be03fdd8c30c4cc25cc3d83b8c439e177a37 (patch) | |
tree | ab4a2dde45fd879c08d452143954ae7fa4abb2b0 /ogcp/templates/base.html | |
parent | a9d367e795a00358c8c34e205ee17beddbcd00dd (diff) |
Add scope-management for non-admin users
Add scope-management menu with limited commands for non-admin users;
commands allowed are add/edit/edit/delete/import client(s)
Diffstat (limited to 'ogcp/templates/base.html')
-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 39680c3..8906fd9 100644 --- a/ogcp/templates/base.html +++ b/ogcp/templates/base.html @@ -33,10 +33,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_scopes%}{% endblock %}"> <a class="nav-link" href="{{ url_for('scopes') }}">{{ _('Scopes management') }}</a> </li> + {% if current_user.admin %} <li class="nav-item {% block nav_repos %}{% endblock %}"> <a class="nav-link" href="{{ url_for('manage_repos') }}">{{ _('Repos') }}</a> </li> |