feat(python): control access to forgotten page using config variable

This commit is contained in:
Serik Ibragimov
2024-04-22 17:30:09 +05:00
parent 06a8668107
commit beb831173d
4 changed files with 17 additions and 5 deletions

View File

@ -120,9 +120,11 @@
<img src="{% static "images/home.svg" %}" alt="Home"/>
</a>
</li>
<li>
<a href="forgotten">Forgotten files</a>
</li>
{% if enableForgotten %}
<li>
<a href="forgotten">Forgotten files</a>
</li>
{% endif %}
</menu>
{% if files %}
<div id="portal-info" style="display: none">