Skip to content

Commit a8ee5fd

Browse files
committed
Two new templates for the IPR search function
- Legacy-Id: 391
1 parent 56b33c8 commit a8ee5fd

2 files changed

Lines changed: 74 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<html>
2+
<head><title>IPR Search Engine </title></head>
3+
<body>
4+
5+
<center>
6+
<h2>IPR Disclosures</h2></center>
7+
<hr width="100%">
8+
<blockquote>
9+
10+
<h3>Please select one of following I-Ds</h3>
11+
<ul>
12+
{% for doc in docs %}
13+
<li> <a href="?option=document_search&id_document_tag={{ doc.id_document_tag }}">{{ doc.filename }}</a></li>
14+
{% endfor %}
15+
</ul>
16+
</body>
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{% load ietf_filters %}
2+
<html>
3+
<head><title>IPR Search Engine </title></head>
4+
<body>
5+
6+
<center>
7+
<h2>IPR Disclosures</h2></center>
8+
<hr width="100%">
9+
<blockquote>
10+
<table cellpadding="1" cellspacing="0" border="0">
11+
12+
13+
14+
<tr><td colspan="3">Total number of IPR disclosures found: {{ iprs|length }} </td></tr>
15+
{% for ipr in iprs|dictsort:"submitted_date" %}
16+
<tr valign="top" bgcolor="#dadada">
17+
<td width="100">{{ ipr.submitted_date }}</td>
18+
<td width="90"><li>ID # {{ ipr.ipr_id }}</li></td>
19+
<td><a href="{% url ietf.ipr.views.show ipr_id=ipr.ipr_id %}">"{{ ipr.document_title }}"</a></td>
20+
</tr>
21+
{% endfor %}
22+
23+
<tr><td colspan="3"><hr>Total number of documents searched: {{ docs|length}}</td></tr>
24+
{% for doc in docs %}
25+
<tbody bgcolor="#{% cycle dadada,eaeaea as bgcolor %}">
26+
<tr >
27+
<td colspan="3">
28+
Search result on {{ doc }}, "{{ doc.title }}"{% ifnotequal doc first %}{% if doc.related %}, {{ doc.relation }} {{ doc.related }}, "{{ doc.related.title }}"{% endif %}
29+
{% endifnotequal %}
30+
</td>
31+
</tr>
32+
{% if doc.iprs %}
33+
{% for ipr in doc.iprs %}
34+
<tr valign="top">
35+
<td width="100">{{ ipr.submitted_date }}</td>
36+
<td width="90"><li>ID # {{ ipr.ipr_id }}</li></td>
37+
<td><a href="{% url ietf.ipr.views.show %}{{ ipr.ipr_id }}">"{{ ipr.document_title }}"</a></td>
38+
</tr>
39+
{% endfor %}
40+
{% else %}
41+
<tr>
42+
<td></td>
43+
<td colspan="2"><b>No IPR disclosures related to <i>{{ doc|rfcspace }}</i> have been submitted</b></td>
44+
</tr>
45+
{% endif %}
46+
</tbody>
47+
{% endfor %}
48+
49+
</table>
50+
51+
<hr><br>
52+
53+
<a href="{% url ietf.ipr.views.search %}"><img src="http://www.ietf.org/images/blue.gif" hspace="3" border="0">IPR Search Main Page</a><br>
54+
<a href="{% url ietf.ipr.views.list %}"><img src="http://www.ietf.org/images/blue.gif" hspace="3" border="0">IPR Disclosure Page</a>
55+
<br>
56+
57+
58+
</body></html>

0 commit comments

Comments
 (0)