From 45986cb0e83ce5787ecfbdb62ba69f178a71ad08 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Wed, 22 Sep 2021 19:32:24 +0200 Subject: [PATCH] Add admin button to navbar --- photo21/templates/base.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/photo21/templates/base.html b/photo21/templates/base.html index 29902f7..82e0b69 100644 --- a/photo21/templates/base.html +++ b/photo21/templates/base.html @@ -31,6 +31,11 @@ SPDX-License-Identifier: GPL-3.0-or-later {% url 'photologue:pl-gallery-archive' as url %} {% trans 'Galleries' %} + {% if request.user.is_staff %} + + {% endif %}