datatracker/ietf/templates/ipr/search_wg_result.html
2013-12-02 16:34:00 +00:00

54 lines
2.2 KiB
HTML

{# Copyright The IETF Trust 2007, All Rights Reserved #}
{% extends "ipr/search_result.html" %}
{% load ietf_filters %}
{% block search_result %}
<table cellpadding="1" cellspacing="0" border="0">
<tr><td colspan="3"><b>{% block search_header %}Working Group Search Result{% endblock %}</b></td></tr>
{% if not count %}
<tr>
<td></td>
<td colspan="2">
<b>No IPR disclosures related to the <i>{{ q }}</i> working group have been submitted.</b>
</td>
</tr>
<tr><td colspan="3">Total number of IPR disclosures found: {{ count }} </td></tr>
{% else %}
<tr><td colspan="3">Total number of IPR disclosures found: {{ count }} </td></tr>
{% block iprlist %}
{% for alias in docs %}
<tbody bgcolor="#{% cycle dadada,eaeaea as bgcolor %}">
<tr >
<td colspan="3">
IPR that is related to <b><i>{{ alias.name|rfcspace|lstrip:"0"|rfcnospace }}, "{{ alias.document.title|escape }}"{% if alias.related %}, that was {{ alias.relation|lower }} {{ alias.related.source|rfcspace|lstrip:"0"|rfcnospace }}, "{{ alias.related.source.title|escape }}"{% endif %}
</i></b>{% if alias.product_of_this_wg %} which is a product of Working Group <b><i>{{ q }}</i></b>{% endif %}
</td>
</tr>
{% if alias.iprs %}
{% for ipr in alias.iprs %}
<tr valign="top">
<td width="100">{{ ipr.submitted_date }}</td>
<td width="90"><li>ID # {{ ipr.ipr_id }}</li></td>
<td>
{% for item in ipr.updates.all %}
{% if item.updated.status == 1 %}
IPR disclosure ID# {{ item.updated.ipr_id }}, "<a href="{% url ietf.ipr.views.show item.updated.ipr_id %}">{{ item.updated.title|escape }}</a>" Updated by
{% endif %}
{% endfor %}
<a href="{% url ietf.ipr.views.show ipr.ipr_id %}">"{{ ipr.title|escape }}"</a>
</td>
</tr>
{% endfor %}
{% else %}
<tr>
<td></td>
<td colspan="2"><b>No IPR disclosures related to <i>{{ alias.name|rfcspace|lstrip:"0" }}</i> have been submitted</b></td>
</tr>
{% endif %}
</tbody>
{% endfor %}
{% endblock %}
{% endif %}
</table>
{% endblock %}