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:
parent
5a0d34020e
commit
cce75254c7
|
@ -91,8 +91,9 @@
|
||||||
<table class="table table-condensed table-striped ietf">
|
<table class="table table-condensed table-striped ietf">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
<th></th>
|
||||||
<th>Date</th>
|
<th>Date</th>
|
||||||
<th>Version</th>
|
<th>Rev.</th>
|
||||||
<th>By</th>
|
<th>By</th>
|
||||||
<th>Action</th>
|
<th>Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -102,9 +103,9 @@
|
||||||
{% for e in events %}
|
{% for e in events %}
|
||||||
<tr class="anchor-target" id="history-{{ e.pk }}">
|
<tr class="anchor-target" id="history-{{ e.pk }}">
|
||||||
<td class="text-nowrap">{{ e.time|date:"Y-m-d" }}</td>
|
<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.by|escape }}</td>
|
||||||
<td>{{ e.desc|format_history_text }}</td>
|
<td>{{ e.desc|format_history_text|safe }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Reference in a new issue