Skip to content

Commit 9b65f3b

Browse files
committed
Found two more places where an IPR update is shown even if the
updating IPR is rejected, fix those - Legacy-Id: 6064
1 parent a3f39ae commit 9b65f3b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

ietf/templates/ipr/details.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ <h1>{{ ipr.title|escape }}</h1>
7272
{% endfor %}
7373

7474
{% for item in ipr.updated_by.all %}
75-
{% ifequal item.processed 1 %}
75+
{% if item.processed == 1 and item.ipr.status != 2 %}
7676
<p>
7777
This IPR disclosure has been updated by IPR disclosure ID #{{ item.ipr.ipr_id }},
7878
{% ifequal item.status_to_be 1 %}
@@ -81,7 +81,7 @@ <h1>{{ ipr.title|escape }}</h1>
8181
"{{ item.ipr.title|escape }}", which was removed at the request of the submitter.
8282
{% endifequal %}
8383
</p>
84-
{% endifequal %}
84+
{% endif %}
8585
{% endfor %}
8686

8787
<p><a href="{% url ietf.ipr.new.update ipr.ipr_id %}" rel="nofollow">Update this IPR disclosure</a>. Note: Updates to IPR disclosures must only be made by authorized

ietf/templates/ipr/search_doctitle_result.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
<td width="90"><li>ID # {{ ipr.ipr_id }}</li></td>
3131
<td>
3232
{% for item in ipr.updated_by.all %}
33-
{% ifequal item.processed 1 %}
33+
{% if item.processed == 1 and item.ipr.status != 2 %}
3434
IPR disclosure ID# {{ item.ipr.ipr_id }} "<a href="{% url ietf.ipr.views.show item.ipr.ipr_id %}">{{ item.ipr.title|escape }}</a>" Updates
35-
{% endifequal %}
35+
{% endif %}
3636
{% endfor %}
3737
<a href="{% url ietf.ipr.views.show ipr.ipr_id %}">"{{ ipr.title|escape }}"</a>
3838
</td>

0 commit comments

Comments
 (0)