Skip to content
Snippets Groups Projects
Commit ca789e89 authored by Carlos Vega's avatar Carlos Vega
Browse files

replaced deprecated ifequal with if statement

parent 6b099b88
No related branches found
No related tags found
1 merge request!445Support for Python 3.11
......@@ -113,12 +113,12 @@
{% endif %}
</td>
<td>
{% ifequal app.status "SCHEDULED" %}
{% if app.status == "SCHEDULED" %}
<a href="{% url 'web.views.appointment_edit' app.id %}"
type="button" class="btn btn-block btn-default">Edit</a>
{% else %}
{{ app.status }}
{% endifequal %}
{% endif %}
</td>
</tr>
{% endfor %}
......
......@@ -173,12 +173,12 @@
{% endif %}
</td>
<td>
{% ifequal app.status "SCHEDULED" %}
{% if app.status == "SCHEDULED" %}
<a href="{% url 'web.views.appointment_edit' app.id %}?from_visit" type="button"
class="btn btn-block btn-default">Edit</a>
{% else %}
{{ app.status }}
{% endifequal %}
{% endif %}
</td>
</tr>
{% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment