Modified the display of updates to a rejected IPR to avoid links that result in 404 pages.

- Legacy-Id: 16168
This commit is contained in:
Henrik Levkowetz 2019-04-26 11:15:53 +00:00
parent ec91cb4448
commit 17db4cd4a4

View file

@ -102,6 +102,8 @@
IPR Disclosure ID #{{ item.target.id }},
{% if item.target.state.slug == "removed" %}
"{{ item.target.title }}" (which was removed at the request of the submitter)
{% elif item.target.state.slug == "rejected" %}
"{{ item.target.title }}" (which was rejected)
{% else %}
"<a href="{% url "ietf.ipr.views.show" id=item.target.id %}">{{ item.target.title }}</a>"
{% endif %}