diff options
| author | Aymeric Augustin | 2013-11-10 09:58:56 -0800 |
|---|---|---|
| committer | Aymeric Augustin | 2013-11-10 09:58:56 -0800 |
| commit | d889bf25d98e6d3c8dde01b207f9ba5f3d91a806 (patch) | |
| tree | 97967ae5b01c7531954b983606bc78498a128d8a /debug_toolbar/templates | |
| parent | 8c7a8ec6529063853c9ff36da72a38841ca5e235 (diff) | |
| parent | f5eaa8ebb0d1ca13aa2453ef88bb1eb223757716 (diff) | |
| download | django-debug-toolbar-d889bf25d98e6d3c8dde01b207f9ba5f3d91a806.tar.bz2 | |
Merge pull request #453 from aaugustin/disable-instrumentation-for-disabled-panels
Disable instrumentation for disabled panels
Diffstat (limited to 'debug_toolbar/templates')
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/base.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/templates/debug_toolbar/base.html b/debug_toolbar/templates/debug_toolbar/base.html index d5a356c..6162020 100644 --- a/debug_toolbar/templates/debug_toolbar/base.html +++ b/debug_toolbar/templates/debug_toolbar/base.html @@ -24,7 +24,7 @@ if(!window.jQuery) document.write('<scr'+'ipt src="{{ STATIC_URL }}debug_toolbar {% if panel.has_content and panel.enabled %} <a href="{{ panel.url|default:"#" }}" title="{{ panel.title }}" class="{{ panel.dom_id }}"> {% else %} - <div class="contentless{% if panel.disabled %} disabled{% endif %}"> + <div class="contentless{% if not panel.enabled %} disabled{% endif %}"> {% endif %} {{ panel.nav_title }} {% if panel.enabled %} |
