Ticket #1585: object_history.diff

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

object history gets some love

  • object_history.html

     
    1515    <table id="change-history">
    1616        <thead>
    1717        <tr>
    18             <th>{% trans 'Date/time' %}</th>
    19             <th>{% trans 'User' %}</th>
    20             <th>{% trans 'Action' %}</th>
     18            <th scope="col">{% trans 'Date/time' %}</th>
     19            <th scope="col">{% trans 'User' %}</th>
     20            <th scope="col">{% trans 'Action' %}</th>
    2121        </tr>
    2222        </thead>
    2323        <tbody>
    2424        {% for action in action_list %}
    2525        <tr>
    26             <th>{{ action.action_time|date:_("DATE_WITH_TIME_FULL") }}</th>
     26            <th scope="row">{{ action.action_time|date:_("DATE_WITH_TIME_FULL") }}</th>
    2727            <td>{{ action.user.username }}{% if action.user.first_name %} ({{ action.user.first_name }} {{ action.user.last_name }}){% endif %}</td>
    2828            <td>{{ action.change_message}}</td>
    2929        </tr>
Back to Top