Skip to content

Commit 0527dde

Browse files
committed
Include favicon link; show server mode in page title
- Legacy-Id: 1933
1 parent 6ef0171 commit 0527dde

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

ietf/templates/idrfc/base.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
22
{% comment %}
3-
Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
3+
Copyright (C) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
44
All rights reserved. Contact: Pasi Eronen <pasi.eronen@nokia.com>
55

66
Redistribution and use in source and binary forms, with or without
@@ -35,7 +35,8 @@
3535
{% endcomment %}
3636
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3737
<head>
38-
<title>{% block title %}No title{% endblock %}</title>
38+
<!-- v{{version_num}}, {{ revision_num }}, {{ revision_time }} -->
39+
<title>{% block title %}No title{% endblock %}{% ifnotequal server_mode "production" %} - {{ server_mode|upper }} MODE{% endifnotequal %}</title>
3940
<link rel="stylesheet" type="text/css" href="{{yui_url}}/2.7.0/build/fonts/fonts-min.css"></link>
4041
<link rel="stylesheet" type="text/css" href="{{yui_url}}/2.7.0/build/assets/skins/sam/skin.css"></link>
4142
<link rel="stylesheet" type="text/css" href="/css/base2.css"></link>
@@ -47,6 +48,11 @@
4748
IETF = {};
4849
IETF.user_groups = { {% for group in user.groups.all %}"{{group}}":true{% if not forloop.last %}, {%endif%}{%endfor%} };
4950
</script>
51+
{% ifnotequal server_mode "production" %}
52+
<link rel="icon" href="/images/ietf-dev-icon.bmp" />
53+
{% else %}
54+
<link rel="icon" href="/images/ietf-icon.bmp" />
55+
{% endifnotequal %}
5056
</head>
5157
<body class="yui-skin-sam" {% block bodyAttrs %}{%endblock%}>
5258

@@ -86,7 +92,6 @@
8692
var oMenu = new YAHOO.widget.Menu("wgs", { position: "static", hidedelay: 750, lazyload: true });
8793
oMenu.render();
8894
});
89-
9095
YAHOO.util.Event.onContentReady("search_submit_button", function () {
9196
var oButton = new YAHOO.widget.Button("search_submit_button", {});
9297
});
@@ -101,10 +106,7 @@
101106
{% block content_end %}
102107
{% endblock %}
103108
</div>
104-
105109
<div id="db-extras"></div>
106-
107110
</td></tr></table>
108111
{% include "debug.html" %}
109-
<!-- v{{version_num}}, {{ revision_date }} -->
110112
</body></html>

0 commit comments

Comments
 (0)