File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -737,7 +737,8 @@ def search(request):
737737 "iprs" : iprs ,
738738 "docs" : docs ,
739739 "doc" : doc ,
740- "form" :form },
740+ "form" :form ,
741+ "states" :states },
741742 context_instance = RequestContext (request )
742743 )
743744
Original file line number Diff line number Diff line change 231231
232232 < div class ="links ">
233233 < a href ="mailto:{{ doc.name }}@tools.ietf.org?subject=Mail%20regarding%20{{ doc.name }} " rel ="nofollow "> Email Authors</ a >
234- | < a href ="{% url "ipr_search " %}?option= document_search &id ={{ doc.name }}" rel="nofollow"> IPR Disclosures{% if doc.related_ipr %} ({{doc.related_ipr|length}}){% endif %}</ a >
234+ | < a href ="{% url "ipr_search " %}?submit= draft &id ={{ doc.name }}" rel="nofollow"> IPR Disclosures{% if doc.related_ipr %} ({{doc.related_ipr|length}}){% endif %}</ a >
235235 | < a href ="{% url 'doc_references' doc.canonical_name %} " rel ="nofollow "> References</ a >
236236 | < a href ="{% url 'doc_referenced_by' doc.canonical_name %} " rel ="nofollow "> Referenced By</ a >
237237 | < a href ="http://www.ietf.org/tools/idnits?url=http://www.ietf.org/archive/id/{{ doc.filename_with_rev }} " rel ="nofollow " target ="_blank "> Check nits</ a >
Original file line number Diff line number Diff line change 2323 </ tr >
2424 {% if doc.iprdocrel_set.all %}
2525 {% for ipr in doc.iprdocrel_set.all %}
26+ {% if ipr.disclosure.state.slug in states %}
2627 < tr valign ="top ">
2728 < td width ="100 "> {{ ipr.disclosure.time|date:"Y-m-d" }}</ td >
2829 < td width ="90 "> < li > ID # {{ ipr.disclosure.id }}</ li > </ td >
2930 < td > < a href ="{% url "ietf.ipr.views.show " id=ipr.id %} "> "{{ ipr.disclosure.title }}"</ a > </ td >
3031 </ tr >
32+ {% endif %}
3133 {% endfor %}
3234 {% else %}
3335 < tr >
You can’t perform that action at this time.
0 commit comments