Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix url call

Roland Geider608f107d5372
diff --git a/wger/manager/templates/mobile/template.html b/wger/manager/templates/mobile/template.html
index 1f03515d1..dde66251e 100644
--- a/wger/manager/templates/mobile/template.html
+++ b/wger/manager/templates/mobile/template.html
@@ -150,7 +150,7 @@
<ul>
{% if user.is_authenticated %}
<li>
- <a href="{% url manager.views.logout %}" id="logout" class="browserid-logout">
+ <a href="{% url wger.manager.views.logout %}" id="logout" class="browserid-logout">
{% trans 'Logout' %}
</a>
</li>
diff --git a/wger/manager/templates/user/login.html b/wger/manager/templates/user/login.html
index 6b5cf52c3..911e79d03 100644
--- a/wger/manager/templates/user/login.html
+++ b/wger/manager/templates/user/login.html
@@ -65,7 +65,7 @@
{% block sidebar %}
<h3>{% trans "No account?" %}</h3>
<p>
- <a href="{% url manager.views.registration %}">
+ <a href="{% url wger.manager.views.registration %}">
<img src="{% static 'images/icons/register.svg' %}"
width="48"
height="48"
diff --git a/wger/manager/templates/user/preferences.html b/wger/manager/templates/user/preferences.html
index 3941daacf..f88198bd8 100644
--- a/wger/manager/templates/user/preferences.html
+++ b/wger/manager/templates/user/preferences.html
@@ -10,7 +10,7 @@
<h2>{% trans "Preferences" %}</h2>
-<form action="{% url manager.views.preferences %}"
+<form action="{% url wger.manager.views.preferences %}"
method="post"
class="ym-form">
{% csrf_token %}
@@ -40,7 +40,7 @@
{% block sidebar %}
<h3>{% trans "Options" %}</h3>
<p>
- <a href="{% url manager.views.logout %}">
+ <a href="{% url wger.manager.views.logout %}">
<img src="{% static 'images/icons/logout.svg' %}"
width="32"
height="32"