2 Commits 9867503626 ... 715489f3c0

Autore SHA1 Messaggio Data
  subDesTagesMitExtraKaese 715489f3c0 add next parameter 3 mesi fa
  subDesTagesMitExtraKaese 9867503626 add next parameter 3 mesi fa
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      templates/gps_logger/index.html
  2. 1 1
      templates/gps_logger/upload.html

+ 1 - 1
templates/gps_logger/index.html

@@ -14,7 +14,7 @@
 </p>
 {% else %}
 <p style="text-align:center">
-  <a href="{% url 'login' %}?next={request.path}" class="link">{% trans "Login" %}</a>
+  <a href="{% url 'login' %}?next={{request.path}}" class="link">{% trans "Login" %}</a>
 </p>
 {% endif %}
 {% endblock %}

+ 1 - 1
templates/gps_logger/upload.html

@@ -14,7 +14,7 @@
 </p>
 {% else %}
 <p style="text-align:center">
-  <a href="{% url 'login' %}?next={request.path}" class="link">{% trans "Login" %}</a>
+  <a href="{% url 'login' %}?next={{request.path}}" class="link">{% trans "Login" %}</a>
 </p>
 {% endif %}
 {% endblock %}