Skip to content
Browse files

Use localized title.

  • Loading branch information...
1 parent e766d16 commit bce0835ccf4ad246a64d03c440ceb1e71abd9e37 @julen julen committed Mar 26, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 templates/base.html
  2. +1 −1 templates/registration/registration_form.html
View
2 templates/base.html
@@ -164,7 +164,7 @@
{% cache settings.CACHE_TIMEOUT legalpages LANGUAGE_CODE %}
{% get_legalpages as legalpages %}
{% for lp in legalpages %}
- <li><a href="{{ lp.get_absolute_url }}">{{ lp.title }}</a></li>
+ <li><a href="{{ lp.get_absolute_url }}">{{ lp.localized_title }}</a></li>
{% endfor %}
{% endcache %}
</ul>
View
2 templates/registration/registration_form.html
@@ -18,7 +18,7 @@
<p>{% trans "Make sure to read the following:" %}</p>
<ul>
{% for lp in legalpages %}
- <li><a href="{{ lp.get_absolute_url }}" class="fancybox{% if lp.url %} external{% endif %}">{{ lp.title }}</a></li>
+ <li><a href="{{ lp.get_absolute_url }}" class="fancybox{% if lp.url %} external{% endif %}">{{ lp.localized_title }}</a></li>
{% endfor %}
</ul>
</div>

0 comments on commit bce0835

Please sign in to comment.
Something went wrong with that request. Please try again.