open shadow libraries for registered users
Some checks are pending
code check / lint (3.12) (push) Waiting to run
code check / type-checker (3.12) (push) Waiting to run
Mirror to Codeberg / to_codeberg (push) Waiting to run
unit test / django (3.12) (push) Waiting to run

This commit is contained in:
gesang 2025-03-10 18:04:54 +01:00
parent 0fd4e9d32a
commit 56f5fe1d11
Signed by: gesang
GPG key ID: 6CE35141D31CEAFB

View file

@ -145,6 +145,7 @@
</details>
</section>
{% endif %}
{% if request.user.is_authenticated %}
<section>
<details class="auto-collapse" open>
<summary>Shadow Libraries</summary>
@ -178,7 +179,6 @@
rel="noopener"
href="https://libgen.li/index.php?req={{ item.display_title }}">Libgen+LI</a>
</div>
{% if request.user.is_authenticated %}
<div>
<br>
Registered user only:<br>
@ -186,5 +186,7 @@
rel="noopener"
href="https://dufs.itinerariummentis.org/book/?q={{ item.display_title }}">dufs.itmens</a>
</div>
</details>
<section>
{% endif %}
{% endblock %}