Add a more granular setting for enabling extra debugging on the agenda page. Commit ready for merge.
- Legacy-Id: 18801
This commit is contained in:
parent
09809b874e
commit
ce0f749293
|
@ -34,6 +34,8 @@ import debug
|
|||
DEBUG = True
|
||||
debug.debug = DEBUG
|
||||
|
||||
DEBUG_AGENDA = False
|
||||
|
||||
# Valid values:
|
||||
# 'production', 'test', 'development'
|
||||
# Override this in settings_local.py if it's not the desired setting:
|
||||
|
|
|
@ -327,7 +327,7 @@
|
|||
<li id="timezone">
|
||||
<select style="width: 12em;" id="timezone_select"></select>
|
||||
</li>
|
||||
{% if settings.DEBUG %}
|
||||
{% if settings.DEBUG and settings.DEBUG_AGENDA %}
|
||||
<li><hr/></li>
|
||||
<li><span id="current-time"></span></li>
|
||||
{% endif %}
|
||||
|
@ -496,7 +496,7 @@
|
|||
<script src="{% static 'ietf/js/agenda/timezone.js' %}"></script>
|
||||
<script>
|
||||
|
||||
{% if settings.DEBUG %}
|
||||
{% if settings.DEBUG and settings.DEBUG_AGENDA %}
|
||||
speedup = +$.urlParam('speedup');
|
||||
if (speedup < 1) {
|
||||
speedup = 1;
|
||||
|
|
Loading…
Reference in a new issue