diff --git a/ietf/templates/doc/disclaimer.html b/ietf/templates/doc/disclaimer.html
index ed25b4d923..6743856db1 100644
--- a/ietf/templates/doc/disclaimer.html
+++ b/ietf/templates/doc/disclaimer.html
@@ -2,8 +2,8 @@
{% load origin %}
{% load ietf_filters %}
{% origin %}
-{% if doc.type_id == "rfc"%}
- {% if doc.stream.slug != "ietf" and not doc.std_level or doc.std_level.slug in "exp,inf"|split:","%}
+{% if doc.type_id == "rfc" %}{{doc.std_level.slug}}{{doc.stream.slug}}
+ {% 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
@@ -11,7 +11,7 @@
{% endif %}
{% elif doc|is_in_stream %}
- {% if doc.stream.slug != "ietf" and not doc.std_level or doc.std_level.slug in "exp,inf"|split:","%}
+ {% 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) intended for RFC publication on the {{ doc.stream.desc }} stream.
This I-D is
not endorsed by the IETF and has
no formal standing in the
@@ -24,6 +24,5 @@
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