Skip to content
Snippets Groups Projects
Verified Commit a5480792 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Remove additional whitespaces in url tags in lesson.html

(cherry picked from commit fccd6d36)
parent 91ed52cd
No related branches found
No related tags found
1 merge request!212Prepare release 2.0rc3
...@@ -6,6 +6,14 @@ All notable changes to this project will be documented in this file. ...@@ -6,6 +6,14 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog`_, The format is based on `Keep a Changelog`_,
and this project adheres to `Semantic Versioning`_. and this project adheres to `Semantic Versioning`_.
Unreleased
----------
Fixed
~~~~~
* Lesson view didn't work due to additional whitespaces in ``url`` tags.
`2.0rc2`_ - 2021-06-26 `2.0rc2`_ - 2021-06-26
---------------------- ----------------------
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
{# Next lesson #} {# Next lesson #}
{% if prev_lesson_person %} {% if prev_lesson_person %}
<a class="btn primary waves-effect waves-light alsijil-top-button" <a class="btn primary waves-effect waves-light alsijil-top-button"
href="{% url " lesson_period" prev_lesson_person.week.year prev_lesson_person.week.week prev_lesson_person.id %}"> href="{% url "lesson_period" prev_lesson_person.week.year prev_lesson_person.week.week prev_lesson_person.id %}">
<i class="material-icons left">arrow_back</i> <i class="material-icons left">arrow_back</i>
{% trans "My previous lesson" %} {% trans "My previous lesson" %}
</a> </a>
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
{# Previous lesson #} {# Previous lesson #}
{% if next_lesson_person %} {% if next_lesson_person %}
<a class="btn primary right waves-effect waves-light alsijil-top-button" <a class="btn primary right waves-effect waves-light alsijil-top-button"
href="{% url " lesson_period" next_lesson_person.week.year next_lesson_person.week.week next_lesson_person.id %}"> href="{% url "lesson_period" next_lesson_person.week.year next_lesson_person.week.week next_lesson_person.id %}">
<i class="material-icons right">arrow_forward</i> <i class="material-icons right">arrow_forward</i>
{% trans "My next lesson" %} {% trans "My next lesson" %}
</a> </a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment