mirror of
https://github.com/wger-project/wger.git
synced 2026-02-18 00:17:51 +01:00
Merge pull request #2198 from franchsli/feature/link_to_trophies
feature: add link to trophies overview
This commit is contained in:
@@ -67,6 +67,15 @@
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a class="dropdown-item" href="{% url 'trophies:overview' %}"
|
||||
rel="nofollow">
|
||||
{% if not user.is_authenticated %}
|
||||
<span class="{% fa_class 'lock' %}"></span>
|
||||
{% endif %}
|
||||
{% translate "Trophies" %}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="dropdown-divider"></li>
|
||||
<li class="dropdown-header">{% translate "Workout templates" %}</li>
|
||||
|
||||
@@ -26,7 +26,7 @@ from .views import TrophiesOverview
|
||||
urlpatterns = [
|
||||
path(
|
||||
'',
|
||||
ReactView.as_view(),
|
||||
ReactView.as_view(login_required=True),
|
||||
name='overview',
|
||||
),
|
||||
path(
|
||||
|
||||
Reference in New Issue
Block a user