Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

magic-removal: Fixed #1585 -- Added small semantic stuff to admin obj…

…ect_history template. Thanks, ubernostrom

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2657 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 180efa66ea13fe1b176e6acc4a602df23b62ff46 1 parent 16ddb21
@adrianholovaty adrianholovaty authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 django/contrib/admin/templates/admin/object_history.html
View
8 django/contrib/admin/templates/admin/object_history.html
@@ -15,15 +15,15 @@
<table id="change-history">
<thead>
<tr>
- <th>{% trans 'Date/time' %}</th>
- <th>{% trans 'User' %}</th>
- <th>{% trans 'Action' %}</th>
+ <th scope="col">{% trans 'Date/time' %}</th>
+ <th scope="col">{% trans 'User' %}</th>
+ <th scope="col">{% trans 'Action' %}</th>
</tr>
</thead>
<tbody>
{% for action in action_list %}
<tr>
- <th>{{ action.action_time|date:_("DATE_WITH_TIME_FULL") }}</th>
+ <th scope="row">{{ action.action_time|date:_("DATE_WITH_TIME_FULL") }}</th>
<td>{{ action.user.username }}{% if action.user.first_name %} ({{ action.user.first_name }} {{ action.user.last_name }}){% endif %}</td>
<td>{{ action.change_message}}</td>
</tr>
Please sign in to comment.
Something went wrong with that request. Please try again.