Templates for IPR search for holder, wg and patent searches.

- Legacy-Id: 643
This commit is contained in:
Henrik Levkowetz 2007-06-25 21:02:24 +00:00
parent e631303959
commit d37b5bb9ed
5 changed files with 122 additions and 54 deletions

View file

@ -1,56 +1,4 @@
{% extends "ipr/search_result.html" %}
{% load ietf_filters %}
{% block search_result %}
<table cellpadding="1" cellspacing="0" border="0">
<tr><td colspan="3"><b>Patent Owner/Applicant Search Result</b></td></tr>
{% if not iprs %}
<tr>
<td></td>
<td colspan="2"><b>No IPR disclosures have been submitted by <i>{{ q }}</i></b></td>
</tr>
{% else %}
<tr><td colspan="3">Total number of IPR disclosures found: {{ count }} </td></tr>
{% for ipr in iprs %}
<tbody bgcolor="#{% cycle dadada,eaeaea as bgcolor %}">
<tr valign="top">
<td colspan="3">IPR that was submitted by <b><i>{{ q }}</i></b>{% if not ipr.drafts.count and not ipr.rfcs.count %},
and is not related to a specific IETF contribution.
{% else %},
and is related to
{% for doc in ipr.drafts.all %}
{% ifnotequal ipr.drafts.count 1 %}{% ifequal doc ipr.last_draft %}<b> and </b>{% endifequal %}{% endifnotequal %}
<b><i>{{ doc.document }}, "{{ doc.document.title }},"</i></b>
{% endfor %}
{% for doc in ipr.rfcs.all %}
{% ifnotequal ipr.rfcs.count 1 %}{% ifequal doc ipr.last_rfc %} and {% endifequal %}{% endifnotequal %}
<b><i>{{ doc.document }}, "{{ doc.document.title }},"</i></b>
{% endfor %}
{% endif %}
</td>
</tr>
<tr valign="top">
<td width="100">{{ ipr.submitted_date }}</td>
<td width="90"><li>ID # {{ ipr.ipr_id }}</li></td>
<td><a href="{% url ietf.ipr.views.show ipr_id=ipr.ipr_id %}">"{{ ipr.title }}"</a></td>
</tr>
{% for upd in ipr.updates.all %}
{% ifnotequal upd ipr %}
<tr valign="top">
<td width="100">{{ upd.updated.submitted_date }}</td>
<td width="90"><li>ID # {{ upd.updated.ipr_id }}</li></td>
<td>
IPR disclosure ID# {{ ipr.ipr_id }} <a href="{% url ietf.ipr.views.show ipr_id=ipr.ipr_id %}">"{{ ipr.title }}"</a>
Updates <a href="{% url ietf.ipr.views.show ipr_id=upd.ipr_id %}">{{ upd.updated.title }}</a>
</td>
</tr>
{% endifnotequal %}
{% endfor %}
</tbody>
{% endfor %}
{% endif %}
</table>
{% endblock %}
{% block search_header %}Patent Owner/Applicant Search Result{% endblock %}
{% block item_intro %}IPR that was submitted by <b><i>{{ q }}</i></b>,{% endblock %}

View file

@ -0,0 +1,9 @@
{% extends "ipr/search_result.html" %}
{% load ietf_filters %}
{% block search_header %}Patent Information Search Result{% endblock %}
{% block into_prefix %}
IPR that contains the string {{ q }} in the "Disclosure of Patent Information"
section of the form, or in the body of the text (for disclosures submitted by
e-mail), and
{% endblock %}

View file

@ -8,6 +8,62 @@
<hr>
<blockquote>
{% block search_result %}
<table cellpadding="1" cellspacing="0" border="0">
<tr><td colspan="3"><b>{% block search_header %}Patent Owner/Applicant Search Result{% endblock %}</b></td></tr>
{% if not iprs %}
<tr>
<td></td>
<td colspan="2"><b>No IPR disclosures have been submitted by <i>{{ q }}</i></b></td>
</tr>
{% else %}
<tr><td colspan="3">Total number of IPR disclosures found: {{ count }} </td></tr>
{% block iprlist %}
{% for ipr in iprs %}
<tbody bgcolor="#{% cycle dadada,eaeaea as bgcolor %}">
<tr valign="top">
<td colspan="3">
{% block intro_prefix %}IPR that was submitted by <b><i>{{ q }}</i></b>, and{% endblock %}
{% block related %}
{% if not ipr.drafts.count and not ipr.rfcs.count %}
is not related to a specific IETF contribution.
{% else %}
is related to
{% for item in ipr.drafts.all %}
{% ifnotequal ipr.drafts.count 1 %}{% ifequal item ipr.last_draft %}<b> and </b>{% endifequal %}{% endifnotequal %}
<b><i>{{ item.document }}, "{{ item.document.title }},"</i></b>{% if item.document.related %}, {{ item.document.relation }} {{ item.document.related }}, "{{ item.document.related.title }}"{% endif %}
{% endfor %}
{% for item in ipr.rfcs.all %}
{% ifnotequal ipr.rfcs.count 1 %}{% ifequal item ipr.last_rfc %} and {% endifequal %}{% endifnotequal %}
<b><i>{{ item.document }}, "{{ item.document.title }},"</i></b>{% if item.document.related %}, {{ item.document.relation }} {{ item.document.related }}, "{{ item.document.related.title }}"{% endif %}
{% endfor %}
{% endif %}
{% endblock %}
{% block intro_suffix %}{% endblock %}
</td>
</tr>
<tr valign="top">
<td width="100">{{ ipr.submitted_date }}</td>
<td width="90"><li>ID # {{ ipr.ipr_id }}</li></td>
<td><a href="{% url ietf.ipr.views.show ipr_id=ipr.ipr_id %}">"{{ ipr.title }}"</a></td>
</tr>
{% for item in ipr.updates.all %}
{% ifnotequal item ipr %}
<tr valign="top">
<td width="100">{{ item.updated.submitted_date }}</td>
<td width="90"><li>ID # {{ item.updated.ipr_id }}</li></td>
<td>
IPR disclosure ID# {{ ipr.ipr_id }} <a href="{% url ietf.ipr.views.show ipr_id=ipr.ipr_id %}">"{{ ipr.title }}"</a>
Updates <a href="{% url ietf.ipr.views.show ipr_id=item.ipr_id %}">{{ item.updated.title }}</a>
</td>
</tr>
{% endifnotequal %}
{% endfor %}
</tbody>
{% endfor %}
{% endblock %}
{% endif %}
</table>
{% endblock %}
<hr><br>

View file

@ -0,0 +1,54 @@
{% 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 iprs %}
<tr>
<td></td>
<td colspan="2"><b>No IPR disclosures have been submitted by <i>{{ q }}</i></b></td>
</tr>
{% else %}
<tr><td colspan="3">Total number of IPR disclosures found: {{ count }} </td></tr>
{% block iprlist %}
{% for doc in docs %}
<tbody bgcolor="#{% cycle dadada,eaeaea as bgcolor %}">
<tr >
<td colspan="3">
IPR that is related to <b><i>{{ doc|rfcspace|lstrip:"0"|rfcnospace }}, "{{ doc.title }}"{% if doc.related %}, {{ doc.relation }} {{ doc.related|rfcspace|lstrip:"0"|rfcnospace }}, "{{ doc.related.title }}"{% endif %}
</i></b> which is a product of Working Group <b><i>{{ q }}</i></b>
</td>
</tr>
{% if doc.iprs %}
{% for ipr in doc.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 %}
{% ifequal 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 }}</a>" Updated by
{% endifequal %}
{% endfor %}
<a href="{% url ietf.ipr.views.show %}{{ ipr.ipr_id }}">"{{ ipr.title }}"</a>
<!--{% for item in ipr.updated_by.all %}
{% ifequal item.processed 1 %}
Updated by "<a href="{% url ietf.ipr.views.show item.ipr.ipr_id %}">{{ item.ipr.title }}</a>"<br>
{% endifequal %}
{% endfor %}-->
</td>
</tr>
{% endfor %}
{% else %}
<tr>
<td></td>
<td colspan="2"><b>No IPR disclosures related to <i>{{ doc|rfcspace|lstrip:"0" }}</i> have been submitted</b></td>
</tr>
{% endif %}
</tbody>
{% endfor %}
{% endblock %}
{% endif %}
</table>
{% endblock %}

View file

@ -6,6 +6,7 @@
</head>
<body>
<h1>Review items</h1>
( There are {{ count }} items in the list )
<ul>
{% for item in info %}
<li><a href="/review/{{ item.num }}/">{{ item.old }}</a></li>