Skip to content

Commit 8c6de10

Browse files
committed
Fixed a bug in two IPR templates, where a reverse url lookup was lacking a parameter.
- Legacy-Id: 789
1 parent 3a31a52 commit 8c6de10

2 files changed

Lines changed: 2 additions & 13 deletions

File tree

ietf/templates/ipr/search_doctitle_result.html

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,12 @@
2929
<td width="100">{{ ipr.submitted_date }}</td>
3030
<td width="90"><li>ID # {{ ipr.ipr_id }}</li></td>
3131
<td>
32-
<!--
33-
{% for item in ipr.updates.all %}
34-
{% ifequal item.updated.status 1 %}
35-
IPR disclosure ID# {{ item.updated.ipr_id }}, "<a href="{% url ietf.ipr.views.show item.updated.ipr_id %}">{{ item.updated.title }}</a>" Updated by
36-
{% endifequal %}
37-
{% endfor %}-->
3832
{% for item in ipr.updated_by.all %}
3933
{% ifequal item.processed 1 %}
4034
IPR disclosure ID# {{ item.ipr.ipr_id }} "<a href="{% url ietf.ipr.views.show item.ipr.ipr_id %}">{{ item.ipr.title }}</a>" Updates
4135
{% endifequal %}
4236
{% endfor %}
43-
<a href="{% url ietf.ipr.views.show %}{{ ipr.ipr_id }}">"{{ ipr.title }}"</a>
37+
<a href="{% url ietf.ipr.views.show ipr.ipr_id %}">"{{ ipr.title }}"</a>
4438
</td>
4539
</tr>
4640
{% endfor %}

ietf/templates/ipr/search_wg_result.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,7 @@
3535
IPR disclosure ID# {{ item.updated.ipr_id }}, "<a href="{% url ietf.ipr.views.show item.updated.ipr_id %}">{{ item.updated.title }}</a>" Updated by
3636
{% endifequal %}
3737
{% endfor %}
38-
<a href="{% url ietf.ipr.views.show %}{{ ipr.ipr_id }}">"{{ ipr.title }}"</a>
39-
<!--{% for item in ipr.updated_by.all %}
40-
{% ifequal item.processed 1 %}
41-
Updated by "<a href="{% url ietf.ipr.views.show item.ipr.ipr_id %}">{{ item.ipr.title }}</a>"<br>
42-
{% endifequal %}
43-
{% endfor %}-->
38+
<a href="{% url ietf.ipr.views.show ipr.ipr_id %}">"{{ ipr.title }}"</a>
4439
</td>
4540
</tr>
4641
{% endfor %}

0 commit comments

Comments
 (0)