datatracker/ietf/templates/ipr/search_wg_result.html
Lars Eggert aa955f0e9b
fix: Replace deprecated bootstrap CSS classes with 5.3 ones (#6166)
* fix: Replace deprecated bootstrap CSS classes with 5.3 ones

* Fix test

* Remove debug print
2023-08-18 13:41:02 -05:00

71 lines
3.3 KiB
HTML

{% extends "ipr/search_result.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% origin %}
{% load ietf_filters static %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
{% endblock %}
{% block search_header %}Working Group search results{% endblock %}
{% block search_result %}
<p class="alert alert-info my-3">
Total number of {{ q }} WG IPR disclosures found: <b>{{ iprs|length }}</b>.
</p>
{% if docs %}
<table class="table table-sm table-striped tablesorter">
<thead>
<tr>
<th scope="col" data-sort="date">Date</th>
<th scope="col" data-sort="id">ID</th>
<th scope="col" data-sort="statement">Statement</th>
</tr>
</thead>
{% for alias in docs %}
<tbody>
<tr class="table-info">
<th scope="col" colspan="3">
IPR related to {{ alias.name|prettystdname|urlize_ietf_docs }} ("{{ alias.document.title }}")
{% if alias.related %}
that was {{ alias.relation|lower }} {{ alias.related.source|prettystdname|urlize_ietf_docs }} ("{{ alias.related.source.title|escape }}")
{% endif %}
{% if alias.product_of_this_wg %}, a product of the {{ q }} WG{% endif %}
:
</th>
</tr>
</tbody>
<tbody>
{% if alias.document.ipr %}
{% for ipr in alias.document.ipr %}
<tr>
<td>{{ ipr.disclosure.time|date:"Y-m-d" }}</td>
<td>{{ ipr.disclosure.id }}</td>
<td>
{% for item in ipr.disclosure.updates.all %}
{% if item.target.state_id == "posted" %}
IPR disclosure #{{ item.target.id }}:
<a href="{% url "ietf.ipr.views.show" item.target.id %}">{{ item.target.title }}</a>
<br>
Updated by:
{% endif %}
{% endfor %}
<a href="{% url "ietf.ipr.views.show" ipr.disclosure.id %}">{{ ipr.disclosure.title }}</a>
</td>
</tr>
{% endfor %}
{% else %}
<tr>
<td></td>
<td></td>
<td>
No IPR disclosures related to <i>{{ alias.name|prettystdname|urlize_ietf_docs }}</i> have been submitted.
</td>
</tr>
{% endif %}
</tbody>
{% endfor %}
</table>
{% endif %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}