From 32ed1b7c4a4e90c570f51201bf04e2bd1a94ecf4 Mon Sep 17 00:00:00 2001 From: Jennifer Richards Date: Fri, 12 May 2023 18:33:15 -0300 Subject: [PATCH] refactor: Replace deprecated {% ifequal %} with {% if %} --- ietf/templates/doc/document_referenced_by.html | 4 ++-- ietf/templates/doc/document_references.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ietf/templates/doc/document_referenced_by.html b/ietf/templates/doc/document_referenced_by.html index 30d536d79..3557ecf56 100644 --- a/ietf/templates/doc/document_referenced_by.html +++ b/ietf/templates/doc/document_referenced_by.html @@ -64,7 +64,7 @@ - {% ifequal ref.source.get_state.slug 'rfc' %} + {% if ref.source.get_state.slug == 'rfc' %} {% with ref.source.std_level as lvl %} {% if lvl %}{{ lvl }}{% endif %} {% endwith %} @@ -72,7 +72,7 @@ {% with ref.source.intended_std_level as lvl %} {% if lvl %}{{ lvl }}{% endif %} {% endwith %} - {% endifequal %} + {% end %} {{ ref.relationship.name }} {{ ref.is_downref|default:'' }} diff --git a/ietf/templates/doc/document_references.html b/ietf/templates/doc/document_references.html index 4578d6b8c..d9134be6f 100644 --- a/ietf/templates/doc/document_references.html +++ b/ietf/templates/doc/document_references.html @@ -51,7 +51,7 @@ - {% ifequal ref.target.document.get_state.slug 'rfc' %} + {% if ref.target.document.get_state.slug == 'rfc' %} {% with ref.target.document.std_level as lvl %} {% if lvl %}{{ lvl }}{% endif %} {% endwith %} @@ -59,7 +59,7 @@ {% with ref.target.document.intended_std_level as lvl %} {% if lvl %}{{ lvl }}{% endif %} {% endwith %} - {% endifequal %} + {% endif %} {{ ref.relationship.name }} {{ ref.is_downref|default:'' }}