From 6376e3b550a3eaa5ccfd6d5c7050000a483dcd16 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Tue, 1 Mar 2022 11:39:48 +0100 Subject: [PATCH] Show become photograph button only when needed --- photo21/templates/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/photo21/templates/index.html b/photo21/templates/index.html index 2fc6a5d..b7087c8 100644 --- a/photo21/templates/index.html +++ b/photo21/templates/index.html @@ -29,12 +29,14 @@ SPDX-License-Identifier: GPL-3.0-or-later Abuse request {% endblocktranslate %}

+ {% if not perms.photologue.add_photo %}

{% blocktranslate trimmed %} If you want to obtain the right to upload pictures, please let us know: Become a photograph {% endblocktranslate %}

+ {% endif %}

{% trans "Last galleries" %}