From d8828b234e8eef6143ac6356d0afb91115e85a87 Mon Sep 17 00:00:00 2001 From: Francisco <112600427+franchsli@users.noreply.github.com> Date: Sat, 7 Feb 2026 18:24:30 -0500 Subject: [PATCH 1/2] feature: add link to trophies overview --- wger/core/templates/navigation.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/wger/core/templates/navigation.html b/wger/core/templates/navigation.html index bd65504f7..b806bb11a 100644 --- a/wger/core/templates/navigation.html +++ b/wger/core/templates/navigation.html @@ -67,6 +67,15 @@ +
  • + + {% if not user.is_authenticated %} + + {% endif %} + {% translate "Trophies" %} + +
  • From accdcead41d01dc3293b6673a6be271545a6b4c0 Mon Sep 17 00:00:00 2001 From: Francisco <112600427+franchsli@users.noreply.github.com> Date: Sat, 7 Feb 2026 18:55:10 -0500 Subject: [PATCH 2/2] fix: fix users accessing trophies view without logging in --- wger/trophies/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wger/trophies/urls.py b/wger/trophies/urls.py index bfd7a4f6c..8fea0b500 100644 --- a/wger/trophies/urls.py +++ b/wger/trophies/urls.py @@ -26,7 +26,7 @@ from .views import TrophiesOverview urlpatterns = [ path( '', - ReactView.as_view(), + ReactView.as_view(login_required=True), name='overview', ), path(