Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion school/courses/templates/courses/lesson.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ <h2 class="text-white font-bold text-2xl mt-10 mb-4">Posledné submity</h2>
{% endif %}
{% else %}
<div class="w-full rounded-md px-4 py-3 bg-red-900 border border-red-600 text-white">
Ak chceš odovzdať riešenie tejto úlohy, musíš sa najskôr <a href="{% url 'oidc_authentication_init' %}" class="underline hover:text-red-300">prihlásiť</a>.
Ak chceš odovzdať riešenie tejto úlohy, musíš sa najskôr <a href="{% url 'oidc_authentication_init' %}?next={{ request.path_info|urlencode }}" class="underline hover:text-red-300">prihlásiť</a>.
</div>
{% endif %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion school/pages/templates/common/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
</div>
</div>
{% else %}
<a href="{% url 'oidc_authentication_init' %}">Prihlásiť sa</a>
<a href="{% url 'oidc_authentication_init' %}?next={{ request.path_info|urlencode }}">Prihlásiť sa</a>
{% endif %}
</div>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion school/problems/templates/problems/problem_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h2 class="text-white font-bold text-2xl mt-10 mb-4">Posledné submity</h2>
{% endif %}
{% else %}
<div class="w-full rounded-md px-4 py-3 bg-red-900 border border-red-600 text-white">
Ak chceš odovzdať riešenie tejto úlohy, musíš sa najskôr <a href="{% url 'oidc_authentication_init' %}" class="underline hover:text-red-300">prihlásiť</a>.
Ak chceš odovzdať riešenie tejto úlohy, musíš sa najskôr <a href="{% url 'oidc_authentication_init' %}?next={{ request.path_info|urlencode }}" class="underline hover:text-red-300">prihlásiť</a>.
</div>
{% endif %}
</aside>
Expand Down
Loading