Skip to content

Commit 1ea8927

Browse files
committed
Merged in [16558] from rjsparks@nostrum.com:
Make removed IPR disclosures visually distinctive on search results. Partially addresses ietf-tools#2687. - Legacy-Id: 16585 Note: SVN reference [16558] has been migrated to Git commit b4a27c5
1 parent 90ceca3 commit 1ea8927

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/templates/ipr/search_doc_result.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<tr>
2929
<td class="text-nowrap">{{ ipr.time|date:"Y-m-d" }}</td>
3030
<td>{{ ipr.id }}</td>
31-
<td><a href="{% url "ietf.ipr.views.show" id=ipr.id %}">{{ ipr.title }}</a>
31+
<td><a href="{% url "ietf.ipr.views.show" id=ipr.id %}">{{ ipr.title }}</a>{% if ipr.state_id == 'removed' %} (Removed) {% endif %}
3232
{% if ipr.updates %} <br/>(Updates ID#: {% for upd in ipr.updates %}{{upd.target_id}}{% if not forloop.last %}, {% endif %}{% endfor %}){% endif %}
3333
</td>
3434
</tr>
@@ -70,7 +70,7 @@
7070
<tr>
7171
<td class="text-nowrap">{{ ipr.disclosure.time|date:"Y-m-d" }}</td>
7272
<td>{{ ipr.disclosure.id }}</td>
73-
<td><a href="{% url "ietf.ipr.views.show" id=ipr.disclosure.id %}">{{ ipr.disclosure.title }}</a>
73+
<td><a href="{% url "ietf.ipr.views.show" id=ipr.disclosure.id %}">{{ ipr.disclosure.title }}</a>{% if ipr.disclosure.state_id == 'removed' %} (Removed) {% endif %}
7474
{% if ipr.disclosure.updates %} <br/>(Updates ID#: {% for upd in ipr.disclosure.updates %}{{upd.target_id}}{% if not forloop.last %}, {% endif %}{% endfor %}){% endif %}
7575
</td>
7676
</tr>

0 commit comments

Comments
 (0)