Skip to content

Commit a6b8707

Browse files
committed
Make it clearer in search results when one IPR disclosure updates another. Fixes ietf-tools#1798. Commit ready for merge.
- Legacy-Id: 10109
1 parent a04b4b8 commit a6b8707

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

ietf/templates/ipr/search_doc_result.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
<tr>
2525
<td class="text-nowrap">{{ ipr.time|date:"Y-m-d" }}</td>
2626
<td>{{ ipr.id }}</td>
27-
<td><a href="{% url "ietf.ipr.views.show" id=ipr.id %}">{{ ipr.title }}</a></td>
27+
<td><a href="{% url "ietf.ipr.views.show" id=ipr.id %}">{{ ipr.title }}</a>
28+
{% if ipr.updates %} <br/>(Updates ID#: {% for upd in ipr.updates %}{{upd.target_id}}{% if not forloop.last %}, {% endif %}{% endfor %}){% endif %}
29+
</td>
2830
</tr>
2931
{% endfor %}
3032
</tbody>
@@ -57,7 +59,9 @@
5759
<tr>
5860
<td class="text-nowrap">{{ ipr.disclosure.time|date:"Y-m-d" }}</td>
5961
<td>{{ ipr.disclosure.id }}</td>
60-
<td><a href="{% url "ietf.ipr.views.show" id=ipr.disclosure.id %}">{{ ipr.disclosure.title }}</a></td>
62+
<td><a href="{% url "ietf.ipr.views.show" id=ipr.disclosure.id %}">{{ ipr.disclosure.title }}</a>
63+
{% if ipr.disclosure.updates %} <br/>(Updates ID#: {% for upd in ipr.disclosure.updates %}{{upd.target_id}}{% if not forloop.last %}, {% endif %}{% endfor %}){% endif %}
64+
</td>
6165
</tr>
6266
{% endif %}
6367
{% endfor %}

0 commit comments

Comments
 (0)