Skip to content
Snippets Groups Projects
Commit 1701046e authored by Nils Beyer's avatar Nils Beyer
Browse files

Fix: Display error message

parent 635c3210
No related branches found
No related tags found
1 merge request!42Feature: Authorize helper
......@@ -35,7 +35,7 @@
{{ player(lecture, videos, get_flashed_messages(category_filter=['player']), seek=seek) }}
</div>
{% else %}
{{ authorize_helper(course.login_info, permtypes, passwordSet, lecture, course) }}
{{ authorize_helper(course.login_info, permtypes, passwordSet, lecture, course, courses_loaded) }}
{% endif %}
<div class="col-xs-12" style="padding-top: 15px;">
......
......@@ -161,7 +161,7 @@ $(function() {
</script>
{% endmacro %}
{% macro authorize_helper(login_info, permtypes, passwordSet, lecture, course) %}
{% macro authorize_helper(login_info, permtypes, passwordSet, lecture, course, courses_loaded) %}
<div class="col-xs-12" style="padding: 10px; background-color: black; color:white;">
<h3 class="text-center mb2">Anmeldung erforderlich</h3>
{% if login_info %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment