Skip to content

Commit ad022f4

Browse files
committed
Changed the default setting for the datatracker left-hand menu to 'off'. The top menu is always present, and works well.
- Legacy-Id: 14909
1 parent 6d5f604 commit ad022f4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ietf/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ def skip_unreadable_post(record):
856856
"expires_soon" : "14",
857857
"new_enough" : "14",
858858
"full_draft" : "off",
859-
"left_menu" : "on",
859+
"left_menu" : "off",
860860
}
861861

862862
TRAC_MASTER_DIR = "/a/www/trac-setup/"

ietf/templates/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
{{ message }}
9393
</div>
9494
{% endfor %}
95-
{% if request.COOKIES.left_menu != "off" and not hide_menu %} {# ugly hack for the more or less unported meeting agenda edit pages #}
95+
{% if request.COOKIES.left_menu == "on" and not hide_menu %} {# ugly hack for the more or less unported meeting agenda edit pages #}
9696
<div class="row">
9797
<div class="col-md-2 visible-md visible-lg leftmenu">
9898
<ul class="nav nav-pills nav-stacked panel panel-default panel-body">
@@ -110,7 +110,7 @@
110110
{% endif %}
111111
{% block content %}{{ content|safe }}{% endblock %}
112112
{% block content_end %}{% endblock %}
113-
{% if request.COOKIES.left_menu != "off" and not hide_menu %}
113+
{% if request.COOKIES.left_menu == "on" and not hide_menu %}
114114
</div>
115115
</div>
116116
{% endif %}

0 commit comments

Comments
 (0)