Skip to content

Commit fe3e063

Browse files
committed
Factor out the page footer, and use it also in the idtracker's base.html
- Legacy-Id: 707
1 parent 42245b7 commit fe3e063

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

ietf/templates/base.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@
4848
{% block content %}{% endblock %}
4949
{% block main_content %}{% endblock %}
5050
</div>
51-
<hr/>
52-
<div style="width: 100%; height: 1em; font-size: 9pt; font-style: italic;"><span style="float: left;">Made with <a href="http://www.djangoproject.com/">django</a></span><span style="float: right;">v{{ version_num }}, {{ revision_date }} - <a href="mailto:webmaster@ietf.org">webmaster@ietf.org</a></span></div>
53-
<!-- <a href="http://www.djangoproject.com/"><img src="http://media.djangoproject.com/img/badges/djangomade124x25.gif" border="0" alt="Made with Django." title="Made with Django." /></a> -->
51+
{% include "footer.html" %}
5452
{% include "debug.html" %}
5553
</body>
5654
</html>

ietf/templates/footer.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<hr/>
2+
<div style="width: 100%; height: 1em; font-size: 9pt; font-style: italic;">
3+
<span style="float: left;">Made with <a href="http://www.djangoproject.com/">django</a></span>
4+
<span style="float: right;">v{{ version_num }}, {{ revision_date }} - <a href="mailto:webmaster@ietf.org">webmaster@ietf.org</a></span>
5+
</div>

ietf/templates/idtracker/base.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
{% block idcontent %}
2323
{% endblock %}
2424

25-
<hr/>
26-
<a href="http://www.djangoproject.com/"><img src="http://media.djangoproject.com/img/badges/djangomade124x25.gif" border="0" alt="Made with Django." title="Made with Django." /></a>
25+
{% include "footer.html" %}
2726
{% include "debug.html" %}
2827

2928
</body>

0 commit comments

Comments
 (0)