Skip to content

Commit b582283

Browse files
committed
Adding the new template code from templates/base.html to templates/idtracker/base.html to make title and icon adapt to production or development mode.
- Legacy-Id: 736
1 parent cfd445d commit b582283

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

ietf/templates/idtracker/base.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{# Copyright The IETF Trust 2007, All Rights Reserved #}
22
<html>
3-
<HEAD><TITLE>IETF I-D Tracker v1.1 {% block title %}{% endblock %}-- WCF</title>
4-
<link rel="icon" href="http://tools.ietf.org/images/django-ietf.png" />
3+
<HEAD>
4+
<!-- Project Revision {{ revision_num }}, {{ revision_time }} -->
5+
<title>{% block title %}IETF Data{% endblock %}{% ifnotequal server_mode "production" %} - {{ server_mode|upper }} MODE{% endifnotequal %}</title>
6+
{% ifnotequal server_mode "production" %}
7+
<link rel="icon" href="/images/ietf-dev-icon.bmp" />
8+
{% else %}
9+
<link rel="icon" href="/images/ietf-icon.bmp" />
10+
{% endifnotequal %}
511

612
<STYLE TYPE="text/css">
713
<!--

0 commit comments

Comments
 (0)