-
Notifications
You must be signed in to change notification settings - Fork 136
/
course_unavailable.html
30 lines (29 loc) · 1.54 KB
/
course_unavailable.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for #}
{# more information about the licensing of this file. #}
{% extends "layout.html" %}
{% block title %}{{ _("Course unavailable") }}{% endblock %}}
{% block navbar %}
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{{ get_homepath() }}/courselist" title="{{ _('Course list') }}" data-toggle="tooltip" data-placement="bottom"><i class="fa fa-graduation-cap"></i></a></li>
<li class="breadcrumb-item active"><a href="#">{{ _("Course unavailable") }}</a></li>
</ol>
</nav>
{% endblock %}
{% block content %}
<div class="row justify-content-center">
<div class="col-md-6">
<img src="{{ get_homepath(True) }}/static/images/logo_maintenance.png" style="margin:auto; display:block;"/>
<div class="alert alert-warning" role="alert" style="text-align: center;">
<b>{{ _("Error 403") }}</b>
{% if reason == "closed" or reason == "unregistered_not_previewable" %}
{{ _("This course is closed.") }}
{% elif reason == "lti_only" or reason == "lti_not_registered" %}
{{ _("This course must be accessed on an external platform. Read the course description or contact the teaching team for more information.") }}
{% else %}
{{ _("You are not registered to this course.") }}
{% endif %}
</div>
</div>
</div>
{% endblock %}