diff --git a/ietf/templates/doc/document_conflict_review.html b/ietf/templates/doc/document_conflict_review.html index 00300e780..8a2361832 100644 --- a/ietf/templates/doc/document_conflict_review.html +++ b/ietf/templates/doc/document_conflict_review.html @@ -28,7 +28,7 @@
- {% if not snapshot and doc.get_state_slug == "rfc" %}
+ {% if not snapshot and doc.type_id == "rfc" %}
RFC {{ doc.rfc_number }}
{% else %}
{{ doc.name }}-{{ doc.rev }}
diff --git a/ietf/templates/doc/document_info.html b/ietf/templates/doc/document_info.html
index 33d89a60d..1dc7d9ca5 100644
--- a/ietf/templates/doc/document_info.html
+++ b/ietf/templates/doc/document_info.html
@@ -31,7 +31,7 @@
{% if document_html %}View errata{% else %}Errata{% endif %}
{% endif %}
- {% if document_html and doc.get_state_slug == "rfc" and not snapshot %}
+ {% if document_html and doc.type_id == "rfc" and not snapshot %}
{% endif %}
{% else %}
- {% if snapshot and doc.doc.get_state_slug == 'rfc' %}
+ {% if snapshot and doc.doc.type_id == 'rfc' %}