$3");
if (newtext === text) {
return;
}
diff --git a/ietf/templates/doc/disclaimer.html b/ietf/templates/doc/disclaimer.html
new file mode 100644
index 0000000000..31ce6c397e
--- /dev/null
+++ b/ietf/templates/doc/disclaimer.html
@@ -0,0 +1,28 @@
+{# Copyright The IETF Trust 2016-2023, All Rights Reserved #}
+{% load origin %}
+{% load ietf_filters %}
+{% origin %}
+{% if doc.type_id == "rfc" %}
+ {% if doc.stream.slug != "ietf" and doc.std_level.slug|default:"unk" not in "bcp,ds,ps,std"|split:"," %}
+
+ This RFC was published on the {{ doc.stream.desc }} stream.
+ This RFC is
not endorsed by the IETF and has
no formal standing in the
+
IETF standards process.
+
+ {% endif %}
+{% elif doc|is_in_stream %}
+ {% if doc.stream.slug != "ietf" and doc.std_level.slug|default:"unk" not in "bcp,ds,ps,std"|split:"," %}
+
+ This document is an Internet-Draft (I-D) that has been submitted to the {{ doc.stream.desc }} stream.
+ This I-D is
not endorsed by the IETF and has
no formal standing in the
+
IETF standards process.
+
+ {% endif %}
+{% else %}
+
+ This document is an Internet-Draft (I-D).
+ Anyone may submit an I-D to the IETF.
+ This I-D is
not endorsed by the IETF and has
no formal standing in the
+
IETF standards process.
+
+{% endif %}
\ No newline at end of file
diff --git a/ietf/templates/doc/document_draft.html b/ietf/templates/doc/document_draft.html
index 0dc64e9f3a..befbc759f1 100644
--- a/ietf/templates/doc/document_draft.html
+++ b/ietf/templates/doc/document_draft.html
@@ -27,6 +27,7 @@
{% origin %}
{{ top|safe }}
{% include "doc/revisions_list.html" with document_html=document_html %}
+ {% include "doc/disclaimer.html" with document_html=document_html %}
{% if doc.rev != latest_rev %}
The information below is for an old version of the document.
diff --git a/ietf/templates/doc/document_info.html b/ietf/templates/doc/document_info.html
index e30656e165..97cd49cf7e 100644
--- a/ietf/templates/doc/document_info.html
+++ b/ietf/templates/doc/document_info.html
@@ -63,7 +63,7 @@
{% if doc.became_rfc %}
{% elif snapshot and doc.rev != latest_rev %}
- This is an older version of an Internet-Draft whose latest revision state is "{{ doc.doc.get_state }}".
+ This is an older version of an Internet-Draft whose latest revision state is "{{ doc.doc.get_state }}".
{% else %}
{% if snapshot and doc.rev == latest_rev %}{{ doc.doc.get_state }}{% else %}{{ doc.get_state }}{% endif %} Internet-Draft
{% if submission %}({{ submission|safe }}){% endif %}
@@ -75,6 +75,9 @@
Expired & archived
{% endif %}
+ {% if document_html %}
+ {% include "doc/disclaimer.html" with document_html=document_html %}
+ {% endif %}
{% if document_html %}
diff --git a/ietf/templates/doc/document_rfc.html b/ietf/templates/doc/document_rfc.html
index b25d434de9..7612ef8910 100644
--- a/ietf/templates/doc/document_rfc.html
+++ b/ietf/templates/doc/document_rfc.html
@@ -22,6 +22,7 @@
{% block content %}
{% origin %}
{{ top|safe }}
+ {% include "doc/disclaimer.html" with document_html=document_html %}
{% include "doc/document_info.html" %}