Skip to content

Commit d40e838

Browse files
committed
Summary: Only show change IESG state link when the view allows it to
be changed - Legacy-Id: 10122
1 parent 08500ec commit d40e838

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/templates/doc/document_draft.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
<th>IESG</th>
292292
<th><a href="{% url "ietf.help.views.state" doc=doc.type.slug type="iesg" %}">IESG state</a></th>
293293
<td class="edit">
294-
{% if iesg_state and can_edit and not snapshot %}
294+
{% if started_iesg_process and iesg_state and iesg_state.slug != "expired" and can_edit and not snapshot %}
295295
<a class="btn btn-default btn-xs" href="{% url "doc_change_state" name=doc.name %}">Edit</a>
296296
{% endif %}
297297
</td>

0 commit comments

Comments
 (0)