From 080aa099083dda5194ba471e4e6cc9480be0a4d0 Mon Sep 17 00:00:00 2001
From: james
Date: Sat, 25 Aug 2012 12:01:06 -0400
Subject: changed blocktrans syntax back to more verbose syntax so it will work
with django 1.2
---
debug_toolbar/templates/debug_toolbar/panels/templates.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'debug_toolbar')
diff --git a/debug_toolbar/templates/debug_toolbar/panels/templates.html b/debug_toolbar/templates/debug_toolbar/panels/templates.html
index 8061053..bde09a9 100644
--- a/debug_toolbar/templates/debug_toolbar/panels/templates.html
+++ b/debug_toolbar/templates/debug_toolbar/panels/templates.html
@@ -1,5 +1,5 @@
{% load i18n %}
-
{% blocktrans count template_count=template_dirs|length %}Template path{% plural %}Template paths{% endblocktrans %}
+{% blocktrans count template_dirs|length as template_count %}Template path{% plural %}Template paths{% endblocktrans %}
{% if template_dirs %}
{% for template in template_dirs %}
@@ -10,7 +10,7 @@
{% trans "None" %}
{% endif %}
-{% blocktrans count template_count=templates|length %}Template{% plural %}Templates{% endblocktrans %}
+{% blocktrans count templates|length as template_count %}Template{% plural %}Templates{% endblocktrans %}
{% if templates %}
{% for template in templates %}
@@ -28,7 +28,7 @@
{% trans 'None' %}
{% endif %}
-{% blocktrans count context_processors_count=context_processors|length %}Context processor{% plural %}Context processors{% endblocktrans %}
+{% blocktrans count context_processors|length as context_processors_count %}Context processor{% plural %}Context processors{% endblocktrans %}
{% if context_processors %}
{% for key, value in context_processors.iteritems %}
--
cgit v1.2.3