Code

Ticket #1585: object_history.diff

File object_history.diff, 1.0 KB (added by ubernostrum, 8 years ago)

object history gets some love

Line 
1Index: object_history.html
2===================================================================
3--- object_history.html (revision 2630)
4+++ object_history.html (working copy)
5@@ -15,15 +15,15 @@
6     <table id="change-history">
7         <thead>
8         <tr>
9-            <th>{% trans 'Date/time' %}</th>
10-            <th>{% trans 'User' %}</th>
11-            <th>{% trans 'Action' %}</th>
12+            <th scope="col">{% trans 'Date/time' %}</th>
13+            <th scope="col">{% trans 'User' %}</th>
14+            <th scope="col">{% trans 'Action' %}</th>
15         </tr>
16         </thead>
17         <tbody>
18         {% for action in action_list %}
19         <tr>
20-            <th>{{ action.action_time|date:_("DATE_WITH_TIME_FULL") }}</th>
21+            <th scope="row">{{ action.action_time|date:_("DATE_WITH_TIME_FULL") }}</th>
22             <td>{{ action.user.username }}{% if action.user.first_name %} ({{ action.user.first_name }} {{ action.user.last_name }}){% endif %}</td>
23             <td>{{ action.change_message}}</td>
24         </tr>