Skip to content

Commit 879caac

Browse files
committed
Template changes to render the footer properly on the 500 error page, and also clean it up a bit.
- Legacy-Id: 760
1 parent db4ba92 commit 879caac

2 files changed

Lines changed: 15 additions & 9 deletions

File tree

ietf/templates/500.html

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,40 @@
11
{# Copyright The IETF Trust 2007, All Rights Reserved #}
22
{% extends "base.html" %}
3-
3+
{% load versiontags %}
44

55
{% block content %}
66
<center>
7-
<img src="http://www.ietf.org/images/ietflogo2e.gif" height="160" width="280">
7+
<img src="http://www.ietf.org/images/ietflogo2e.gif" height="80" width="140">
88
<br clear=all>
99

10-
<center><h1>The Internet Engineering Task Force</h1></center>
10+
<h2>The Internet Engineering Task Force</h2>
1111
<table border=0 cellspacing=5 cellpadding=5>
1212

1313
<br>
14-
<font size = 3>
1514
<center><img alt="" src="http://www.ietf.org/images/blue-line.jpg"></center>
1615
<br clear=all>
1716
<h1>Error 500</h1>
1817
<h2>Internal Server Error</h2>
1918
<br>
2019
<br>
21-
Please contact <a href="mailto:webmaster@ietf.org">webmaster@ietf.org</a>. <br>
20+
Please contact <a href="mailto:webtools@ietf.org">webtools@ietf.org</a>. <br>
2221
<br>
23-
<font size = 3>
22+
<!--
2423
<center><img alt="Blue Line" src="http://www.ietf.org/images/blue-line.jpg"></center>
2524
<br clear=all>
2625
The IETF is an organized activity of the <a href="http://www.isoc.org"><img alt="ISOC" src="http://www.ietf.org/images/isoc-small.gif" hspace="3" border="0"></A>
2726
2827
<br>
2928
3029
<hr>
31-
<i>The <A HREF="/secretariat.html">IETF Secretariat</A> is hosted by the NeuStar Secretariat Services, a wholly owned subsidiary of <a href="http://www.neustar.biz/"><img src="http://www.ietf.org/images/NS_logo_100px.gif" alt="NeuStar Logo" border="0">
30+
<i>The <A HREF="/secretariat.html">IETF Secretariat</A> is hosted by the NeuStar Secretariat Services, a wholly owned subsidiary of <a href="http://www.neustar.biz/"><img src="http://www.ietf.org/images/NS_logo_100px.gif" alt="NeuStar Logo" border="0"/></a></i>
31+
-->
32+
{% endblock %}
3233

33-
</i>
34+
{% block footer %}
35+
<hr/>
36+
<div style="width: 100%; height: 1em; font-size: 9pt; font-style: italic;">
37+
<span style="float: left;">Made with <a href="http://www.djangoproject.com/">django</a></span>
38+
<span style="float: right;">v{% version_num %}, {% revision_date %} - <a href="mailto:webtools@ietf.org">webtools@ietf.org</a></span>
39+
</div>
3440
{% endblock %}

ietf/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
{% block content %}{% endblock %}
5151
{% block main_content %}{% endblock %}
5252
</div>
53-
{% include "footer.html" %}
53+
{% block footer %}{% include "footer.html" %}{% endblock %}
5454
{% include "debug.html" %}
5555
</body>
5656
</html>

0 commit comments

Comments
 (0)