Ticket #1485: django_1485.diff
File django_1485.diff, 2.0 KB (added by , 19 years ago) |
---|
-
django/contrib/admin/templates/admin/object_history.html
24 24 {% for action in action_list %} 25 25 <tr> 26 26 <th>{{ action.action_time|date:_("DATE_WITH_TIME_FULL") }}</th> 27 <td>{{ action. get_user.username }}{% if action.get_user.first_name %} ({{ action.get_user.first_name }} {{ action.get_user.last_name }}){% endif %}</td>27 <td>{{ action.user.username }}{% if action.user.get_full_name %} ({{ action.user.get_full_name }}){% endif %}</td> 28 28 <td>{{ action.change_message}}</td> 29 29 </tr> 30 30 {% endfor %} -
django/contrib/admin/templates/admin/index.html
57 57 {% else %} 58 58 <ul class="actionlist"> 59 59 {% for entry in admin_log %} 60 <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. get_content_type.name|capfirst }}</span></li>60 <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 }}</span></li> 61 61 {% endfor %} 62 62 </ul> 63 63 {% endif %}