Ticket #2006: patch.diff
File patch.diff, 1.3 KB (added by , 18 years ago) |
---|
-
django/contrib/admin/templates/admin/filter.html
3 3 <ul> 4 4 {% for choice in choices %} 5 5 <li{% if choice.selected %} class="selected"{% endif %}> 6 <a href="{{ choice.query_string }}">{{ choice.display }}</a></li>6 <a href="{{ choice.query_string }}">{{ choice.display|escape }}</a></li> 7 7 {% endfor %} 8 8 </ul> -
django/contrib/admin/templates/admin/change_form.html
12 12 <div class="breadcrumbs"> 13 13 <a href="../../../">{% trans "Home" %}</a> › 14 14 <a href="../">{{ opts.verbose_name_plural|capfirst }}</a> › 15 {% if add %}{% trans "Add" %} {{ opts.verbose_name }}{% else %}{{ original| striptags|truncatewords:"18"}}{% endif %}15 {% if add %}{% trans "Add" %} {{ opts.verbose_name }}{% else %}{{ original|truncatewords:"18"|escape }}{% endif %} 16 16 </div> 17 17 {% endif %}{% endblock %} 18 18 {% block content %}<div id="content-main">