Fixes #1569. Fixes link to IPR search from doc page. Commit ready for merge.
- Legacy-Id: 8841
This commit is contained in:
parent
f90e802dc5
commit
8130d244d8
|
@ -737,7 +737,8 @@ def search(request):
|
|||
"iprs": iprs,
|
||||
"docs": docs,
|
||||
"doc": doc,
|
||||
"form":form},
|
||||
"form":form,
|
||||
"states":states},
|
||||
context_instance=RequestContext(request)
|
||||
)
|
||||
|
||||
|
|
|
@ -231,7 +231,7 @@
|
|||
|
||||
<div class="links">
|
||||
<a href="mailto:{{ doc.name }}@tools.ietf.org?subject=Mail%20regarding%20{{ doc.name }}" rel="nofollow">Email Authors</a>
|
||||
| <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>
|
||||
| <a href="{% url "ipr_search" %}?submit=draft&id={{ doc.name }}" rel="nofollow">IPR Disclosures{% if doc.related_ipr %} ({{doc.related_ipr|length}}){% endif %}</a>
|
||||
| <a href="{% url 'doc_references' doc.canonical_name %}" rel="nofollow">References</a>
|
||||
| <a href="{% url 'doc_referenced_by' doc.canonical_name %}" rel="nofollow">Referenced By</a>
|
||||
| <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>
|
||||
|
|
|
@ -23,11 +23,13 @@
|
|||
</tr>
|
||||
{% if doc.iprdocrel_set.all %}
|
||||
{% for ipr in doc.iprdocrel_set.all %}
|
||||
{% if ipr.disclosure.state.slug in states %}
|
||||
<tr valign="top">
|
||||
<td width="100">{{ ipr.disclosure.time|date:"Y-m-d" }}</td>
|
||||
<td width="90"><li>ID # {{ ipr.disclosure.id }}</li></td>
|
||||
<td><a href="{% url "ietf.ipr.views.show" id=ipr.id %}">"{{ ipr.disclosure.title }}"</a></td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<tr>
|
||||
|
|
Loading…
Reference in a new issue