diff --git a/ietf/ipr/views.py b/ietf/ipr/views.py index 526536d80..5fb61770a 100644 --- a/ietf/ipr/views.py +++ b/ietf/ipr/views.py @@ -769,12 +769,17 @@ def show(request, id): elif ipr.state.slug != 'posted': raise Http404 + updates_iprs = ipr.relatedipr_source_set.all().order_by('source__time') + prev_rel = updates_iprs.last() + prev = prev_rel.target.get_child() if prev_rel else None + return render(request, "ipr/details_view.html", { 'ipr': ipr, + 'prev': prev, 'in_force_ipr_rfc': ipr_rfc_number(ipr.time, ipr.is_thirdparty), 'tabs': get_details_tabs(ipr, 'Disclosure'), 'choices_abc': [ i.desc for i in IprLicenseTypeName.objects.filter(slug__in=['no-license', 'royalty-free', 'reasonable', ]) ], - 'updates_iprs': ipr.relatedipr_source_set.all().order_by('source__time'), + 'updates_iprs': updates_iprs, 'updated_by_iprs': ipr.relatedipr_target_set.filter(source__state="posted").order_by('target__time') }) diff --git a/ietf/static/ietf/css/ietf.css b/ietf/static/ietf/css/ietf.css index 1d9903eb9..b0e9ba386 100644 --- a/ietf/static/ietf/css/ietf.css +++ b/ietf/static/ietf/css/ietf.css @@ -753,6 +753,23 @@ blockquote { } +.table-condensed th.ipr-label { + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + padding-right: 1em; + vertical-align: top; +} +.table-condensed .ipr-prev { + color: #777; + background-color: #f0f0f0; + vertical-align: top; +} +.table-condensed .ipr-this { + vertical-align: top; +} + .rfcmarkup div { margin-top: 1em; } diff --git a/ietf/templates/ipr/details_view.html b/ietf/templates/ipr/details_view.html index a41ec7526..89d8d1cfa 100644 --- a/ietf/templates/ipr/details_view.html +++ b/ietf/templates/ipr/details_view.html @@ -73,20 +73,27 @@ of the original IPR disclosure.
{% endif %} - {% if updated_by_iprs %} -- This IPR disclosure has been updated by IPR disclosure ID #{{ item.source.id }}, - "{{ item.source.title }}". -
- {% endfor %} - {% endif %} - - {% if updates_iprs %} + {% if updates_iprs or updated_by_iprs%}Previous (#{{prev.id}}) | This (#{{ipr.id}}) | |
---|---|---|
{{ prev.holder_legal_name }} | {% endif %} +Holder legal name | +{{ ipr.holder_legal_name }} | +
Previous (#{{prev.id}}) | This (#{{ipr.id}}) | |
---|---|---|
{{ prev.holder_contact_name }} | {% endif %} +Holder contact name | +{{ ipr.holder_contact_name }} | +
{{ prev.holder_contact_email }} | {% endif %} +Holder contact email | +{{ ipr.holder_contact_email }} | +
{{ prev.holder_contact_info|linebreaks }} | {% endif %} +Holder contact info | +{{ ipr.holder_contact_info|linebreaks }} | +
Previous (#{{prev.id}}) | This (#{{ipr.id}}) | |
---|---|---|
{{ prev.ietfer_name }} | {% endif %} +Name | +{{ ipr.ietfer_name }} | +
{{ prev.ietfer_contact_email }} | {% endif %} +{{ ipr.ietfer_contact_email }} | +|
{{ prev.ietfer_contact_info|linebreaks }} | {% endif %} +Other info | +{{ ipr.ietfer_contact_info|linebreaks }} | +
Previous (#{{prev.id}}) | This (#{{ipr.id}}) | |
---|---|---|
+ {% for iprdocrel in prev.iprdocrel_set.all %}
+ {{ iprdocrel.doc_type }}:
+ {{ iprdocrel.formatted_name }} ("{{ iprdocrel.document.document.title }}")
- {% if iprdocrel.sections %}
- Sections: {{ iprdocrel.sections }}
- {% endif %}
-
- {% endfor %}
+ {% if iprdocrel.revisions %}
+ Revisions: {{ iprdocrel.revisions }}
+ {% endif %}
- {% if ipr.other_designations %}
- Sections: {{ iprdocrel.sections }}
+ {% endif %}
+ {% endfor %}
+
+ {% if prev.other_designations %}
+ Designations for Other Contributions
+ {{ prev.other_designations }}
+ {% endif %}
+ |
+ {% endif %}
+
+ + + |
+ {% for iprdocrel in ipr.iprdocrel_set.all %}
+ {{ iprdocrel.doc_type }}:
+ {{ iprdocrel.formatted_name }} ("{{ iprdocrel.document.document.title }}")
+
+ {% if iprdocrel.revisions %}
+ Revisions: {{ iprdocrel.revisions }}
+ {% endif %}
+
+ {% if iprdocrel.sections %}
+ Sections: {{ iprdocrel.sections }}
+ {% endif %}
+ {% endfor %}
+
+ {% if ipr.other_designations %}
+ |
+
A. For granted patents or published pending patent applications, please provide the following information:
-Previous (#{{prev.id}}) | This (#{{ipr.id}}) | |
---|---|---|
{{ prev.patent_info|linebreaks }} | {% endif %} +Patent, Serial, Publication, Registration, or Application/File number(s) | +{{ ipr.patent_info|linebreaks }} | +
B. Does this disclosure relate to an unpublished pending patent application?:
-Previous (#{{prev.id}}) | This (#{{ipr.id}}) | |
---|---|---|
{{ prev.has_patent_pending|yesno:"Yes,No" }} | {% endif %} +Has patent pending | +{{ ipr.has_patent_pending|yesno:"Yes,No" }} | +
Previous (#{{prev.id}}) | This (#{{ipr.id}}) | |
---|---|---|
{% if prev.licensing.slug == "provided-later" %}{{ prev.licensing.desc|slice:"2:"|slice:":117" }}){% else %}{{ prev.licensing.desc|slice:"2:" }}{% endif %} | {% endif %} +Licensing | +{% if ipr.licensing.slug == "provided-later" %}{{ ipr.licensing.desc|slice:"2:"|slice:":117" }}){% else %}{{ ipr.licensing.desc|slice:"2:" }}{% endif %} | +
{{ prev.licensing_comments|default:"(No information submitted)"|linebreaks }} | {% endif %} +Licensing information, comments, notes, or URL for further information | +{{ ipr.licensing_comments|default:"(No information submitted)"|linebreaks }} | +
Note: The individual submitting this template represents and warrants that he or she is authorized by the Patent Holder to agree to the @@ -229,33 +321,54 @@ {% elif ipr.statement %}
Previous (#{{prev.id}}) | This (#{{ipr.id}}) | |
---|---|---|
{{ prev.statement|linebreaks }} | {% endif %} +Statement | +{{ ipr.statement|linebreaks }} | +
Previous (#{{prev.id}}) | This (#{{ipr.id}}) | |
---|---|---|
{{ prev.submitter_name }} | {% endif %} +Submitter name | +{{ ipr.submitter_name }} | +
{{ prev.submitter_email }} | {% endif %} +Submitter email | +{{ ipr.submitter_email }} | +
Previous (#{{prev.id}}) | This (#{{ipr.id}}) | |
---|---|---|
{{ prev.notes|linebreaks }} | {% endif %} +Additional notes | +{{ ipr.notes|linebreaks }} | +
Only those sections of the relevant entry form where the submitter provided information are displayed.
- {% endblock content %}