diff --git a/ietf/templates/ipr/ipr_table.html b/ietf/templates/ipr/ipr_table.html
index a363c02bb..63714d424 100644
--- a/ietf/templates/ipr/ipr_table.html
+++ b/ietf/templates/ipr/ipr_table.html
@@ -21,22 +21,23 @@
{% if ipr.state_id == 'posted' or administrative_list %}
+
+ {% for item in ipr.relatedipr_source_set.all %}
+ {% if item.target.state_id == 'posted' %}
+
+ {% endif %}
+ {% endfor %}
+
+ {% for item in ipr.relatedipr_target_set.all %}
+ {% if item.source.state_id == "posted" %}
+
+ {% endif %}
+ {% endfor %}
+
{% else %}
{{ ipr.title }}
This IPR disclosure was removed at the request of the submitter.
{% endif %}
-
- {% for item in ipr.relatedipr_source_set.all %}
- {% if item.target.state_id == 'posted' %}
-
- {% endif %}
- {% endfor %}
-
- {% for item in ipr.relatedipr_target_set.all %}
- {% if item.source.state_id == "posted" %}
-
- {% endif %}
- {% endfor %}
|
{% if administrative_list == 'pending' %}