diff options
| author | Jannis Leidel | 2012-08-27 03:38:12 -0700 | 
|---|---|---|
| committer | Jannis Leidel | 2012-08-27 03:38:12 -0700 | 
| commit | 46d1cd691ababc83d8f7bc5628c36994afbf1fdf (patch) | |
| tree | bc30e683fd3d468537b662e0ce142e02d9bade09 /debug_toolbar/templates | |
| parent | 1432944152d5fa6005e29419dc160a7602a26cee (diff) | |
| parent | 080aa099083dda5194ba471e4e6cc9480be0a4d0 (diff) | |
| download | django-debug-toolbar-46d1cd691ababc83d8f7bc5628c36994afbf1fdf.tar.bz2 | |
Merge pull request #315 from jamesodo/master
Fix for blocktrans syntax change breaking debug_toolbar in Django 1.2
Diffstat (limited to 'debug_toolbar/templates')
| -rw-r--r-- | debug_toolbar/templates/debug_toolbar/panels/templates.html | 6 | 
1 files changed, 3 insertions, 3 deletions
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 %} -<h4>{% blocktrans count template_count=template_dirs|length %}Template path{% plural %}Template paths{% endblocktrans %}</h4> +<h4>{% blocktrans count template_dirs|length as template_count %}Template path{% plural %}Template paths{% endblocktrans %}</h4>  {% if template_dirs %}  	<ol>  	{% for template in template_dirs %} @@ -10,7 +10,7 @@  	<p>{% trans "None" %}</p>  {% endif %} -<h4>{% blocktrans count template_count=templates|length %}Template{% plural %}Templates{% endblocktrans %}</h4> +<h4>{% blocktrans count templates|length as template_count %}Template{% plural %}Templates{% endblocktrans %}</h4>  {% if templates %}  <dl>  {% for template in templates %} @@ -28,7 +28,7 @@  	<p>{% trans 'None' %}</p>  {% endif %} -<h4>{% blocktrans count context_processors_count=context_processors|length %}Context processor{% plural %}Context processors{% endblocktrans %}</h4> +<h4>{% blocktrans count context_processors|length as context_processors_count %}Context processor{% plural %}Context processors{% endblocktrans %}</h4>  {% if context_processors %}  <dl>  {% for key, value in context_processors.iteritems %}  | 
