Skip to content

Commit 080aa09

Browse files
author
james
committed
changed blocktrans syntax back to more verbose syntax so it will work with django 1.2
1 parent 119874f commit 080aa09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

debug_toolbar/templates/debug_toolbar/panels/templates.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% load i18n %}
2-
<h4>{% blocktrans count template_count=template_dirs|length %}Template path{% plural %}Template paths{% endblocktrans %}</h4>
2+
<h4>{% blocktrans count template_dirs|length as template_count %}Template path{% plural %}Template paths{% endblocktrans %}</h4>
33
{% if template_dirs %}
44
<ol>
55
{% for template in template_dirs %}
@@ -10,7 +10,7 @@ <h4>{% blocktrans count template_count=template_dirs|length %}Template path{% pl
1010
<p>{% trans "None" %}</p>
1111
{% endif %}
1212

13-
<h4>{% blocktrans count template_count=templates|length %}Template{% plural %}Templates{% endblocktrans %}</h4>
13+
<h4>{% blocktrans count templates|length as template_count %}Template{% plural %}Templates{% endblocktrans %}</h4>
1414
{% if templates %}
1515
<dl>
1616
{% for template in templates %}
@@ -28,7 +28,7 @@ <h4>{% blocktrans count template_count=templates|length %}Template{% plural %}Te
2828
<p>{% trans 'None' %}</p>
2929
{% endif %}
3030

31-
<h4>{% blocktrans count context_processors_count=context_processors|length %}Context processor{% plural %}Context processors{% endblocktrans %}</h4>
31+
<h4>{% blocktrans count context_processors|length as context_processors_count %}Context processor{% plural %}Context processors{% endblocktrans %}</h4>
3232
{% if context_processors %}
3333
<dl>
3434
{% for key, value in context_processors.iteritems %}

0 commit comments

Comments
 (0)