refactor: Replace deprecated {% ifequal %} with {% if %}

This commit is contained in:
Jennifer Richards 2023-05-12 18:33:15 -03:00
parent bee7e11360
commit 32ed1b7c4a
No known key found for this signature in database
GPG key ID: 9B2BF5C5ADDA6A6E
2 changed files with 4 additions and 4 deletions

View file

@ -64,7 +64,7 @@
</a>
</td>
<td>
{% 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 %}
</td>
<td>{{ ref.relationship.name }}</td>
<td>{{ ref.is_downref|default:'' }}</td>

View file

@ -51,7 +51,7 @@
</a>
</td>
<td>
{% 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 %}
</td>
<td>{{ ref.relationship.name }}</td>
<td>{{ ref.is_downref|default:'' }}</td>