Author: mtredinnick
Date: 2007-08-19 00:40:47 -0500 (Sun, 19 Aug 2007)
New Revision: 5935
Modified:
django/trunk/django/contrib/admin/templates/admin/index.html
Log:
Fixed #5155 -- Translated the model name (when available) in the Recent Actions
log.
Modified: django/trunk/django/contrib/admin/templates/admin/index.html
===================================================================
--- django/trunk/django/contrib/admin/templates/admin/index.html
2007-08-19 03:23:31 UTC (rev 5934)
+++ django/trunk/django/contrib/admin/templates/admin/index.html
2007-08-19 05:40:47 UTC (rev 5935)
@@ -58,7 +58,7 @@
{% else %}
<ul class="actionlist">
{% for entry in admin_log %}
- <li class="{% if entry.is_addition %}addlink{% endif %}{% if
entry.is_change %}changelink{% endif %}{% if entry.is_deletion %}deletelink{%
endif %}">{% if not entry.is_deletion %}<a href="{{ entry.get_admin_url }}">{%
endif %}{{ entry.object_repr|escape }}{% if not entry.is_deletion %}</a>{%
endif %}<br /><span class="mini quiet">{{
entry.content_type.name|capfirst|escape }}</span></li>
+ <li class="{% if entry.is_addition %}addlink{% endif %}{% if
entry.is_change %}changelink{% endif %}{% if entry.is_deletion %}deletelink{%
endif %}">{% if not entry.is_deletion %}<a href="{{ entry.get_admin_url }}">{%
endif %}{{ entry.object_repr|escape }}{% if not entry.is_deletion %}</a>{%
endif %}<br /><span class="mini quiet">{% filter capfirst|escape %}{% trans
entry.content_type.name %}{% endfilter %}</span></li>
{% endfor %}
</ul>
{% endif %}
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---