Skip to content

Commit 0cb29a7

Browse files
committed
Don't show diff box if there's only 1 entry (and itself).
- Legacy-Id: 4377
1 parent 3b2c0a2 commit 0cb29a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/templates/idrfc/document_history.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{% block content %}
1212
{{ top|safe }}
1313

14-
{% if diff_revisions %}
14+
{% if diff_revisions and diff_revisions|length > 1 %}
1515
<div class="ietf-box diffTool">
1616
<h2>Diffs</h2>
1717

0 commit comments

Comments
 (0)