Found two more places where an IPR update is shown even if the

updating IPR is rejected, fix those
 - Legacy-Id: 6064
This commit is contained in:
Ole Laursen 2013-08-15 11:34:20 +00:00
parent a3f39aef3c
commit 9b65f3be79
2 changed files with 4 additions and 4 deletions

View file

@ -72,7 +72,7 @@ Template for {{ section_list.disclosure_type }}" where the submitter provided
{% endfor %}
{% for item in ipr.updated_by.all %}
{% ifequal item.processed 1 %}
{% if item.processed == 1 and item.ipr.status != 2 %}
<p>
This IPR disclosure has been updated by IPR disclosure ID #{{ item.ipr.ipr_id }},
{% ifequal item.status_to_be 1 %}
@ -81,7 +81,7 @@ Template for {{ section_list.disclosure_type }}" where the submitter provided
"{{ item.ipr.title|escape }}", which was removed at the request of the submitter.
{% endifequal %}
</p>
{% endifequal %}
{% endif %}
{% endfor %}
<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

View file

@ -30,9 +30,9 @@
<td width="90"><li>ID # {{ ipr.ipr_id }}</li></td>
<td>
{% for item in ipr.updated_by.all %}
{% ifequal item.processed 1 %}
{% if item.processed == 1 and item.ipr.status != 2 %}
IPR disclosure ID# {{ item.ipr.ipr_id }} "<a href="{% url ietf.ipr.views.show item.ipr.ipr_id %}">{{ item.ipr.title|escape }}</a>" Updates
{% endifequal %}
{% endif %}
{% endfor %}
<a href="{% url ietf.ipr.views.show ipr.ipr_id %}">"{{ ipr.title|escape }}"</a>
</td>