diff options
| author | Aymeric Augustin | 2013-11-10 15:18:29 +0100 |
|---|---|---|
| committer | Aymeric Augustin | 2013-11-10 15:41:43 +0100 |
| commit | 6a8526a93b60ebae214dbe0d4cbf172c311802b9 (patch) | |
| tree | 76c6a384a0a3f042b68d6dc6be2cbc508986c0dd /debug_toolbar/templates | |
| parent | 8c7a8ec6529063853c9ff36da72a38841ca5e235 (diff) | |
| download | django-debug-toolbar-6a8526a93b60ebae214dbe0d4cbf172c311802b9.tar.bz2 | |
Remove Panel.disabled, always use Panel.enabled.
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 %} |
