diff options
Diffstat (limited to 'ogcp/templates/base.html')
-rw-r--r-- | ogcp/templates/base.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html index c67dd9b..0ec773c 100644 --- a/ogcp/templates/base.html +++ b/ogcp/templates/base.html @@ -36,6 +36,11 @@ <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_users %}{% endblock %}"> + <a class="nav-link" href="{{ url_for('users') }}">{{ _('Users') }}</a> + </li> + {% endif %} {% endif %} </ul> |