forked from rDrama/rDrama
1
0
Fork 0

hide the sidebar img if ur not logged in

master
Aevann 2024-02-15 15:43:55 +02:00
parent fdb75fc934
commit e34cc311be
2 changed files with 41 additions and 37 deletions

View File

@ -15,6 +15,7 @@
</h5>
</a>
{% if v %}
{% if IS_FISTMAS() %}
{% set image = macros.random_image("assets/events/" ~ IS_EVENT() ~ "/images/sidebar/" ~ SITE_NAME ) %}
{% elif IS_EVENT() %}
@ -34,6 +35,7 @@
</a>
{% endif %}
{% endif %}
{% endif %}
<p class="text-center text-md mb-4">
<a class="sidebar-link d-md-none" href="/leaderboard" data-bs-toggle="tooltip" data-bs-placement="top" title="Leaderboard"><i class="fas fa-trophy"></i></a>

View File

@ -15,6 +15,7 @@
</h5>
</a>
{% if v %}
{% if hole and hole.sidebarurls %}
{% set image = hole.random_sidebar %}
{% elif IS_FISTMAS() %}
@ -38,6 +39,7 @@
</a>
{% endif %}
{% endif %}
{% endif %}
<p class="text-center text-md mb-4">
<a class="sidebar-link d-md-none" href="/leaderboard" data-bs-toggle="tooltip" data-bs-placement="top" title="Leaderboard"><i class="fas fa-trophy"></i></a>