Aligned the table header fields with the table columns in the doc history page. Marked the action text safe so as to make embedded links show up as links.

- Legacy-Id: 9585
This commit is contained in:
Henrik Levkowetz 2015-04-28 20:43:04 +00:00
parent 5a0d34020e
commit cce75254c7

View file

@ -91,8 +91,9 @@
<table class="table table-condensed table-striped ietf">
<thead>
<tr>
<th></th>
<th>Date</th>
<th>Version</th>
<th>Rev.</th>
<th>By</th>
<th>Action</th>
</tr>
@ -102,9 +103,9 @@
{% for e in events %}
<tr class="anchor-target" id="history-{{ e.pk }}">
<td class="text-nowrap">{{ e.time|date:"Y-m-d" }}</td>
<td class="text-right">{{ e.rev }}</td>
<td class="text-center">{{ e.rev }}</td>
<td>{{ e.by|escape }}</td>
<td>{{ e.desc|format_history_text }}</td>
<td>{{ e.desc|format_history_text|safe }}</td>
</tr>
{% endfor %}
</tbody>