diff --git a/ietf/templates/ipr/details_view.html b/ietf/templates/ipr/details_view.html
index f1fc7edf0..871e08626 100644
--- a/ietf/templates/ipr/details_view.html
+++ b/ietf/templates/ipr/details_view.html
@@ -124,11 +124,13 @@
Patent Holder/Applicant ("Patent Holder")
- {% if prev and prev.state.slug == "posted" %}
+ {% if prev %}
+ {% if prev.state.slug == "posted" %}
Previous (#{{prev.id}}) | | This (#{{ipr.id}}) |
{% else %}
Previous (#{{prev.id}}, {{prev.state}}) | | This (#{{ipr.id}}) |
{% endif %}
+ {% endif %}
{% if prev %}{{ prev.holder_legal_name }} | {% endif %}
Holder legal name |
@@ -140,11 +142,13 @@
{% cycle section %}. Patent Holder's Contact for Licence Application
- {% if prev and prev.state.slug == "posted" %}
+ {% if prev %}
+ {% if prev.state.slug == "posted" %}
Previous (#{{prev.id}}) | | This (#{{ipr.id}}) |
{% else %}
Previous (#{{prev.id}}, {{prev.state}}) | | This (#{{ipr.id}}) |
{% endif %}
+ {% endif %}
{% if prev %}{{ prev.holder_contact_name }} | {% endif %}
@@ -171,11 +175,13 @@
{% cycle section %}. Contact Information for the IETF Participant Whose Personal Belief Triggered this Disclosure
- {% if prev and prev.state.slug == "posted" %}
+ {% if prev %}
+ {% if prev.state.slug == "posted" %}
Previous (#{{prev.id}}) | | This (#{{ipr.id}}) |
{% else %}
Previous (#{{prev.id}}, {{prev.state}}) | | This (#{{ipr.id}}) |
{% endif %}
+ {% endif %}
{% if prev %}{{ prev.ietfer_name }} | {% endif %}
Name |
@@ -201,11 +207,13 @@
{% cycle section %}. IETF Document or Other Contribution to Which this IPR Disclosure Relates
- {% if prev and prev.state.slug == "posted" %}
+ {% if prev %}
+ {% if prev.state.slug == "posted" %}
Previous (#{{prev.id}}) | | This (#{{ipr.id}}) |
{% else %}
Previous (#{{prev.id}}, {{prev.state}}) | | This (#{{ipr.id}}) |
{% endif %}
+ {% endif %}
{% if prev %}
@@ -261,11 +269,13 @@
A. For granted patents or published pending patent applications, please provide the following information:
- {% if prev and prev.state.slug == "posted" %}
+ {% if prev %}
+ {% if prev.state.slug == "posted" %}
Previous (#{{prev.id}}) | | This (#{{ipr.id}}) |
{% else %}
Previous (#{{prev.id}}, {{prev.state}}) | | This (#{{ipr.id}}) |
{% endif %}
+ {% endif %}
{% if prev %}{{ prev.patent_info|linebreaks }} | {% endif %}
Patent, Serial, Publication, Registration, or Application/File number(s) |
@@ -276,11 +286,13 @@
B. Does this disclosure relate to an unpublished pending patent application?:
- {% if prev and prev.state.slug == "posted" %}
+ {% if prev %}
+ {% if prev.state.slug == "posted" %}
Previous (#{{prev.id}}) | | This (#{{ipr.id}}) |
{% else %}
Previous (#{{prev.id}}, {{prev.state}}) | | This (#{{ipr.id}}) |
{% endif %}
+ {% endif %}
{% if prev %}{{ prev.has_patent_pending|yesno:"Yes,No" }} | {% endif %}
Has patent pending |
@@ -313,11 +325,13 @@
{% endif %}
- {% if prev and prev.state.slug == "posted" %}
+ {% if prev %}
+ {% if prev.state.slug == "posted" %}
Previous (#{{prev.id}}) | | This (#{{ipr.id}}) |
{% else %}
Previous (#{{prev.id}}, {{prev.state}}) | | This (#{{ipr.id}}) |
{% endif %}
+ {% endif %}
{% if prev %}{% if prev.licensing.slug == "provided-later" %}{{ prev.licensing.desc|slice:"2:"|slice:":117" }}){% else %}{{ prev.licensing.desc|slice:"2:" }}{% endif %} | {% endif %}
Licensing |
@@ -338,11 +352,13 @@
{% cycle section %}. Statement
- {% if prev and prev.state.slug == "posted" %}
+ {% if prev %}
+ {% if prev.state.slug == "posted" %}
Previous (#{{prev.id}}) | | This (#{{ipr.id}}) |
{% else %}
Previous (#{{prev.id}}, {{prev.state}}) | | This (#{{ipr.id}}) |
{% endif %}
+ {% endif %}
{% if prev %}{{ prev.statement|linebreaks }} | {% endif %}
Statement |
@@ -354,11 +370,13 @@
{% cycle section %}. Contact Information of Submitter of this Form
- {% if prev and prev.state.slug == "posted" %}
+ {% if prev %}
+ {% if prev.state.slug == "posted" %}
Previous (#{{prev.id}}) | | This (#{{ipr.id}}) |
{% else %}
Previous (#{{prev.id}}, {{prev.state}}) | | This (#{{ipr.id}}) |
{% endif %}
+ {% endif %}
{% if prev %}{{ prev.submitter_name }} | {% endif %}
Submitter name |
@@ -376,11 +394,13 @@
{% cycle section %}. Other Notes
- {% if prev and prev.state.slug == "posted" %}
+ {% if prev %}
+ {% if prev.state.slug == "posted" %}
Previous (#{{prev.id}}) | | This (#{{ipr.id}}) |
{% else %}
Previous (#{{prev.id}}, {{prev.state}}) | | This (#{{ipr.id}}) |
{% endif %}
+ {% endif %}
{% if prev %}{{ prev.notes|linebreaks }} | {% endif %}
Additional notes |