Skip to content

Commit a1ec3e8

Browse files
committed
Replace partial differential character with HTML entity. While we
should support Unicode, it's causing many of the tests to fail because the Django test client returns plain strings rather than unicode strings. Maybe this can be reverted when Python 3 is here. - Legacy-Id: 8525
1 parent b35d0e2 commit a1ec3e8

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

ietf/templates/ietf.html

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,7 @@
77
<head>
88
<meta charset="utf-8">
99
<meta http-equiv="X-UA-Compatible" content="IE=edge">
10-
<title>
11-
{% block title %}No title{% endblock %}
12-
{% if server_mode %}
13-
{% ifnotequal server_mode "production" %}∂{% endifnotequal %}
14-
{% endif %}
15-
</title>
10+
<title>{% block title %}No title{% endblock %}{% if server_mode and server_mode != "production" %} &part;{% endif %}</title>
1611
<meta name="viewport" content="width=device-width, initial-scale=1">
1712

1813
<link rel="stylesheet" href="/facelift/css/bootstrap.min.css">
@@ -25,8 +20,8 @@
2520

2621
{% block pagehead %}{% endblock %}
2722

28-
<link rel="shortcut icon" href="/facelift/images/ietficon{% ifnotequal server_mode "production" %}-dev{% endifnotequal %}.ico">
29-
<link rel="apple-touch-icon-precomposed" href="/facelift/images/ietficon{% ifnotequal server_mode "production" %}-dev{% endifnotequal %}.png">
23+
<link rel="shortcut icon" href="/facelift/images/ietficon{% if server_mode != "production" %}-dev{% endif %}.ico">
24+
<link rel="apple-touch-icon-precomposed" href="/facelift/images/ietficon{% if server_mode != "production" %}-dev{% endif %}.png">
3025
</head>
3126

3227
{% filter amp|smartypants %}
@@ -67,7 +62,7 @@ <h4 class="modal-title" id="navmodallabel">Area &amp; WG navigation</h4>
6762
<a class="navbar-brand" href="/">
6863
IETF Datatracker
6964
{% if server_mode %}
70-
{% ifnotequal server_mode "production" %}{% endifnotequal %}
65+
{% if server_mode != "production" %}&part;{% endif %}
7166
{% endif %}
7267
</a>
7368
</div>

0 commit comments

Comments
 (0)