Author: mtredinnick
Date: 2006-07-13 20:00:09 -0500 (Thu, 13 Jul 2006)
New Revision: 3341
Modified:
django/trunk/django/contrib/admin/templates/admin/object_history.html
Log:
Fixed #2345 -- escaped object titles in breadcrumb display in admin. Thanks
Gary Wilson.
Modified: django/trunk/django/contrib/admin/templates/admin/object_history.html
===================================================================
--- django/trunk/django/contrib/admin/templates/admin/object_history.html
2006-07-14 00:56:03 UTC (rev 3340)
+++ django/trunk/django/contrib/admin/templates/admin/object_history.html
2006-07-14 01:00:09 UTC (rev 3341)
@@ -2,7 +2,7 @@
{% load i18n %}
{% block userlinks %}<a href="../../../../doc/">{% trans 'Documentation'
%}</a> / <a href="../../../../password_change/">{% trans 'Change password'
%}</a> / <a href="../../../../logout/">{% trans 'Log out' %}</a>{% endblock %}
{% block breadcrumbs %}
-<div class="breadcrumbs"><a href="../../../../">{% trans 'Home' %}</a>
› <a href="../../">{{ module_name }}</a> › <a href="../">{{
object|truncatewords:"18" }}</a> › {% trans 'History' %}</div>
+<div class="breadcrumbs"><a href="../../../../">{% trans 'Home' %}</a>
› <a href="../../">{{ module_name }}</a> › <a href="../">{{
object|escape|truncatewords:"18" }}</a> › {% trans 'History' %}</div>
{% endblock %}
{% block content %}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---