Skip to content

Commit 9c38f1a

Browse files
committed
Added a custom 403 page, extending the datatracker base.html template.
- Legacy-Id: 18331
1 parent ffc541a commit 9c38f1a

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

ietf/templates/403.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{# Copyright The IETF Trust 2007, All Rights Reserved #}
2+
{% extends "base.html" %}
3+
{% load static %}
4+
{% block title %}404 Not Found{% endblock %}
5+
{% block content %}
6+
7+
<img class="ietflogo" src="{% static 'ietf/images/ietflogo.png' %}" alt="IETF" style="width: 10em">
8+
<div class='alert'>
9+
10+
<h2>Restricted Access.</h2>
11+
12+
13+
<p>The page you tried to reach is not generally avaiable.</p>
14+
15+
<p>{{ exception }}</p>
16+
17+
<p>If you think this is a server error, please contact <a href="mailto:{{ bugreport_email }}">{{ bugreport_email }}</a>.</p>
18+
19+
</div>
20+
{% endblock %}
21+

0 commit comments

Comments
 (0)