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:"," %} {% 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:"," %} {% endif %} \ No newline at end of file