From 9d6dff760932adbc5449e6d207504c365d029701 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 17 May 2014 22:24:15 +0200 Subject: Don't show AJAX loader for preloaded panels. Fix #582, #594. Thanks TacoDelPaco for the report and ionelmc for the fix. --- debug_toolbar/templates/debug_toolbar/base.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'debug_toolbar') diff --git a/debug_toolbar/templates/debug_toolbar/base.html b/debug_toolbar/templates/debug_toolbar/base.html index 6bc017a..115e627 100644 --- a/debug_toolbar/templates/debug_toolbar/base.html +++ b/debug_toolbar/templates/debug_toolbar/base.html @@ -54,10 +54,12 @@

{{ panel.title|safe }}

+ {% if toolbar.store_id %} loading -
- {% if not toolbar.store_id %}{{ panel.content }}{% endif %} -
+
+ {% else %} +
{{ panel.content }}
+ {% endif %}
{% endif %} -- cgit v1.2.3