Skip to content

Commit cce7525

Browse files
committed
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
1 parent 5a0d340 commit cce7525

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

ietf/templates/doc/document_history.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,9 @@ <h2>Document history</h2>
9191
<table class="table table-condensed table-striped ietf">
9292
<thead>
9393
<tr>
94+
<th></th>
9495
<th>Date</th>
95-
<th>Version</th>
96+
<th>Rev.</th>
9697
<th>By</th>
9798
<th>Action</th>
9899
</tr>
@@ -102,9 +103,9 @@ <h2>Document history</h2>
102103
{% for e in events %}
103104
<tr class="anchor-target" id="history-{{ e.pk }}">
104105
<td class="text-nowrap">{{ e.time|date:"Y-m-d" }}</td>
105-
<td class="text-right">{{ e.rev }}</td>
106+
<td class="text-center">{{ e.rev }}</td>
106107
<td>{{ e.by|escape }}</td>
107-
<td>{{ e.desc|format_history_text }}</td>
108+
<td>{{ e.desc|format_history_text|safe }}</td>
108109
</tr>
109110
{% endfor %}
110111
</tbody>

0 commit comments

Comments
 (0)