@@ -124,8 +124,10 @@ <h2>{% cycle 'I' 'II' 'III' 'IV' 'V' 'VI' 'VII' 'VIII' as section %}.
124124 Patent Holder/Applicant ("Patent Holder")</ h2 >
125125
126126 < table class ="table-condensed col-md-12 ">
127- {% if prev %}
127+ {% if prev and prev.state.slug == "posted" %}
128128 < tr > < th class ="ipr-prev "> Previous (< a href ="{% url "ietf.ipr.views.show " id=prev.id %} "> #{{prev.id}}</ a > )</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
129+ {% else %}
130+ < tr > < th class ="ipr-prev "> Previous (#{{prev.id}}, {{prev.state}})</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
129131 {% endif %}
130132 < tr >
131133 {% if prev %}< td class ="col-md-5 ipr-prev "> {{ prev.holder_legal_name }}</ td > {% endif %}
@@ -138,8 +140,10 @@ <h2>{% cycle 'I' 'II' 'III' 'IV' 'V' 'VI' 'VII' 'VIII' as section %}.
138140 < h2 > {% cycle section %}. Patent Holder's Contact for Licence Application</ h2 >
139141
140142 < table class ="table-condensed col-md-12 ">
141- {% if prev %}
143+ {% if prev and prev.state.slug == "posted" %}
142144 < tr > < th class ="ipr-prev "> Previous (< a href ="{% url "ietf.ipr.views.show " id=prev.id %} "> #{{prev.id}}</ a > )</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
145+ {% else %}
146+ < tr > < th class ="ipr-prev "> Previous (#{{prev.id}}, {{prev.state}})</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
143147 {% endif %}
144148
145149 < tr >
@@ -167,8 +171,10 @@ <h2>{% cycle section %}. Patent Holder's Contact for Licence Application</h2>
167171 < h2 > {% cycle section %}. Contact Information for the IETF Participant Whose Personal Belief Triggered this Disclosure</ h2 >
168172
169173 < table class ="table-condensed col-md-12 ">
170- {% if prev %}
174+ {% if prev and prev.state.slug == "posted" %}
171175 < tr > < th class ="ipr-prev "> Previous (< a href ="{% url "ietf.ipr.views.show " id=prev.id %} "> #{{prev.id}}</ a > )</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
176+ {% else %}
177+ < tr > < th class ="ipr-prev "> Previous (#{{prev.id}}, {{prev.state}})</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
172178 {% endif %}
173179 < tr >
174180 {% if prev %}< td class ="col-md-5 ipr-prev "> {{ prev.ietfer_name }}</ td > {% endif %}
@@ -195,8 +201,10 @@ <h2>{% cycle section %}. Contact Information for the IETF Participant Whose Pers
195201 < h2 > {% cycle section %}. IETF Document or Other Contribution to Which this IPR Disclosure Relates</ h2 >
196202
197203 < table class ="table-condensed col-md-12 ">
198- {% if prev %}
204+ {% if prev and prev.state.slug == "posted" %}
199205 < tr > < th class ="ipr-prev "> Previous (< a href ="{% url "ietf.ipr.views.show " id=prev.id %} "> #{{prev.id}}</ a > )</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
206+ {% else %}
207+ < tr > < th class ="ipr-prev "> Previous (#{{prev.id}}, {{prev.state}})</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
200208 {% endif %}
201209 < tr >
202210
@@ -253,8 +261,10 @@ <h2>{% cycle section %}. Disclosure of Patent Information <small>i.e., patents o
253261 < p > A. For granted patents or published pending patent applications, please provide the following information:</ p >
254262
255263 < table class ="table-condensed col-md-12 ">
256- {% if prev %}
264+ {% if prev and prev.state.slug == "posted" %}
257265 < tr > < th class ="ipr-prev "> Previous (< a href ="{% url "ietf.ipr.views.show " id=prev.id %} "> #{{prev.id}}</ a > )</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
266+ {% else %}
267+ < tr > < th class ="ipr-prev "> Previous (#{{prev.id}}, {{prev.state}})</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
258268 {% endif %}
259269 < tr >
260270 {% if prev %}< td class ="col-md-5 ipr-prev "> {{ prev.patent_info|linebreaks }}</ td > {% endif %}
@@ -266,8 +276,10 @@ <h2>{% cycle section %}. Disclosure of Patent Information <small>i.e., patents o
266276 < p > B. Does this disclosure relate to an unpublished pending patent application?:</ p >
267277
268278 < table class ="table-condensed col-md-12 ">
269- {% if prev %}
279+ {% if prev and prev.state.slug == "posted" %}
270280 < tr > < th class ="ipr-prev "> Previous (< a href ="{% url "ietf.ipr.views.show " id=prev.id %} "> #{{prev.id}}</ a > )</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
281+ {% else %}
282+ < tr > < th class ="ipr-prev "> Previous (#{{prev.id}}, {{prev.state}})</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
271283 {% endif %}
272284 < tr >
273285 {% if prev %}< td class ="col-md-5 ipr-prev "> {{ prev.has_patent_pending|yesno:"Yes,No" }}</ td > {% endif %}
@@ -301,8 +313,10 @@ <h2>{% cycle section %}. Licensing Declaration</h2>
301313 {% endif %}
302314
303315 < table class ="table-condensed col-md-12 ">
304- {% if prev %}
316+ {% if prev and prev.state.slug == "posted" %}
305317 < tr > < th class ="ipr-prev "> Previous (< a href ="{% url "ietf.ipr.views.show " id=prev.id %} "> #{{prev.id}}</ a > )</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
318+ {% else %}
319+ < tr > < th class ="ipr-prev "> Previous (#{{prev.id}}, {{prev.state}})</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
306320 {% endif %}
307321 < tr >
308322 {% if prev %}< td class ="col-md-5 ipr-prev "> {% if prev.licensing.slug == "provided-later" %}{{ prev.licensing.desc|slice:"2:"|slice:":117" }}){% else %}{{ prev.licensing.desc|slice:"2:" }}{% endif %}</ td > {% endif %}
@@ -324,8 +338,10 @@ <h2>{% cycle section %}. Licensing Declaration</h2>
324338 < h2 > {% cycle section %}. Statement</ h2 >
325339
326340 < table class ="table-condensed col-md-12 ">
327- {% if prev %}
341+ {% if prev and prev.state.slug == "posted" %}
328342 < tr > < th class ="ipr-prev "> Previous (< a href ="{% url "ietf.ipr.views.show " id=prev.id %} "> #{{prev.id}}</ a > )</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
343+ {% else %}
344+ < tr > < th class ="ipr-prev "> Previous (#{{prev.id}}, {{prev.state}})</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
329345 {% endif %}
330346 < tr >
331347 {% if prev %}< td class ="col-md-5 ipr-prev "> {{ prev.statement|linebreaks }}</ td > {% endif %}
@@ -338,8 +354,10 @@ <h2>{% cycle section %}. Statement</h2>
338354 < h2 > {% cycle section %}. Contact Information of Submitter of this Form</ h2 >
339355
340356 < table class ="table-condensed col-md-12 ">
341- {% if prev %}
357+ {% if prev and prev.state.slug == "posted" %}
342358 < tr > < th class ="ipr-prev "> Previous (< a href ="{% url "ietf.ipr.views.show " id=prev.id %} "> #{{prev.id}}</ a > )</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
359+ {% else %}
360+ < tr > < th class ="ipr-prev "> Previous (#{{prev.id}}, {{prev.state}})</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
343361 {% endif %}
344362 < tr >
345363 {% if prev %}< td class ="col-md-5 ipr-prev "> {{ prev.submitter_name }}</ td > {% endif %}
@@ -358,8 +376,10 @@ <h2>{% cycle section %}. Contact Information of Submitter of this Form</h2>
358376 < h2 > {% cycle section %}. Other Notes</ h2 >
359377
360378 < table class ="table-condensed col-md-12 ">
361- {% if prev %}
379+ {% if prev and prev.state.slug == "posted" %}
362380 < tr > < th class ="ipr-prev "> Previous (< a href ="{% url "ietf.ipr.views.show " id=prev.id %} "> #{{prev.id}}</ a > )</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
381+ {% else %}
382+ < tr > < th class ="ipr-prev "> Previous (#{{prev.id}}, {{prev.state}})</ th > < th > </ th > < th > This (#{{ipr.id}})</ th > </ tr >
363383 {% endif %}
364384 < tr >
365385 {% if prev %}< td class ="col-md-5 ipr-prev "> {{ prev.notes|linebreaks }}</ td > {% endif %}
0 commit comments