refactor: Replace deprecated {% ifequal %} with {% if %}
This commit is contained in:
parent
bee7e11360
commit
32ed1b7c4a
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue