Skip to content

Commit ce0f749

Browse files
committed
Add a more granular setting for enabling extra debugging on the agenda page. Commit ready for merge.
- Legacy-Id: 18801
1 parent 09809b8 commit ce0f749

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

ietf/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
DEBUG = True
3535
debug.debug = DEBUG
3636

37+
DEBUG_AGENDA = False
38+
3739
# Valid values:
3840
# 'production', 'test', 'development'
3941
# Override this in settings_local.py if it's not the desired setting:

ietf/templates/meeting/agenda.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ <h2>
327327
<li id="timezone">
328328
<select style="width: 12em;" id="timezone_select"></select>
329329
</li>
330-
{% if settings.DEBUG %}
330+
{% if settings.DEBUG and settings.DEBUG_AGENDA %}
331331
<li><hr/></li>
332332
<li><span id="current-time"></span></li>
333333
{% endif %}
@@ -496,7 +496,7 @@ <h2>
496496
<script src="{% static 'ietf/js/agenda/timezone.js' %}"></script>
497497
<script>
498498

499-
{% if settings.DEBUG %}
499+
{% if settings.DEBUG and settings.DEBUG_AGENDA %}
500500
speedup = +$.urlParam('speedup');
501501
if (speedup < 1) {
502502
speedup = 1;

0 commit comments

Comments
 (0)