Show become photograph button only when needed
This commit is contained in:
parent
7e912b225c
commit
6376e3b550
1 changed files with 2 additions and 0 deletions
|
|
@ -29,12 +29,14 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
<a href="mailto:photos@crans.org?subject=[ABUS] Nouvelle requête" class="btn btn-dark btn-sm">Abuse request</a>
|
||||
{% endblocktranslate %}
|
||||
</p>
|
||||
{% if not perms.photologue.add_photo %}
|
||||
<p>
|
||||
{% blocktranslate trimmed %}
|
||||
If you want to obtain the right to upload pictures, please let us know:
|
||||
<a href="mailto:photos@crans.org?subject=[Photographe] Demande de droits photographe" class="btn btn-dark btn-sm">Become a photograph</a>
|
||||
{% endblocktranslate %}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<h3>{% trans "Last galleries" %}</h3>
|
||||
<div class="row mb-2">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue