Update redirect paths and enhance user context in templates and views
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
<a href="/" class="hover:text-golden-ale transition">Home</a>
|
||||
<a href="/teams" class="hover:text-golden-ale transition">Teams</a>
|
||||
<a href="/leaderboard" class="hover:text-golden-ale transition">Leaderboard</a>
|
||||
<a href="/scan" class="hover:text-golden-ale transition">Scan QR Code</a>
|
||||
<a href="/dashboard/scan" class="hover:text-golden-ale transition">Scan QR Code</a>
|
||||
|
||||
{% if user %}
|
||||
<div class="relative dropdown">
|
||||
@@ -114,7 +114,7 @@
|
||||
<a href="/" class="hover:text-golden-ale transition py-2">Home</a>
|
||||
<a href="/teams" class="hover:text-golden-ale transition py-2">Teams</a>
|
||||
<a href="/leaderboard" class="hover:text-golden-ale transition py-2">Leaderboard</a>
|
||||
<a href="/scan" class="hover:text-golden-ale transition py-2">Scan QR Code</a>
|
||||
<a href="/dashboard/scan" class="hover:text-golden-ale transition py-2">Scan QR Code</a>
|
||||
{% if user %}
|
||||
<a href="/profile" class="hover:text-golden-ale transition py-2">Profile</a>
|
||||
<a href="/dashboard" class="hover:text-golden-ale transition py-2">Dashboard</a>
|
||||
@@ -154,7 +154,7 @@
|
||||
<li><a href="/" class="hover:text-golden-ale transition">Home</a></li>
|
||||
<li><a href="/teams" class="hover:text-golden-ale transition">Teams</a></li>
|
||||
<li><a href="/leaderboard" class="hover:text-golden-ale transition">Leaderboard</a></li>
|
||||
<li><a href="/scan" class="hover:text-golden-ale transition">Scan QR Code</a></li>
|
||||
<li><a href="/dashboard/scan" class="hover:text-golden-ale transition">Scan QR Code</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user