Skip to content

Commit 5feb579

Browse files
committed
Only give the explicit link to the draft if it's active.
- Legacy-Id: 1157
1 parent be8fe26 commit 5feb579

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ietf/templates/idindex/doclist.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
<tr bgcolor="{% cycle #efefff,#dfdfff %}">
2020
{# use url here! #}
2121
<td><a href="/drafts/{{ draft.filename }}/">{{ draft.filename }}-{{ draft.revision_display }}</a>
22+
{% ifequal draft.status.status "Active" %}
2223
[<a href="{{ draft.doclink }}">draft</a>]
24+
{% endifequal %}
2325
</td>
2426
<td>{% firstof draft.revision_date &nbsp; %}</td>
2527
<td>{{ draft.status }}</td>

0 commit comments

Comments
 (0)