forked from apluslms/a-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
41 lines (39 loc) · 1.23 KB
/
404.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
31
32
33
34
35
36
37
38
39
40
41
{% extends "base.html" %}
{% load i18n %}
{% block title %}{% translate "NOT_FOUND_404" %} | {{ block.super }}{% endblock %}
{% block content %}
<div class="container-fluid">
<div class="row">
<div class="col-md-8">
<div class="page-header">
<h1>
{% translate "NOT_FOUND_404" %}
<span class="tiny">(404)</span>
</h1>
</div>
{% if url_without_language %}
<div class="alert alert-danger">
<span class="glyphicon glyphicon-warning-sign" aria-hidden="true"></span>
{% translate "PAGE_NOT_AVAILABLE_IN_LANGUAGE" %}
<a href="{{ url_without_language }}">{% translate "OPEN_PAGE_IN_DEFAULT_LANGUAGE" %}</a>
</div>
{% elif languages %}
<div class="alert alert-danger">
<span class="glyphicon glyphicon-warning-sign" aria-hidden="true"></span>
{% blocktranslate trimmed %}
PAGE_NOT_AVAILABLE_IN_LANGUAGE_BUT_AVAILABLE_IN_THESE
{% endblocktranslate %}
{% for lang in languages %}
<a href="{{ lang.url }}">{{ lang.name }}</a>
{% endfor %}
</div>
{% else %}
<div class="alert alert-danger">
<span class="glyphicon glyphicon-warning-sign" aria-hidden="true"></span>
{% translate "PAGE_DOES_NOT_EXIST" %}
</div>
{% endif %}
</div>
</div>
</div>
{% endblock %}