Optimize session listing

This commit is contained in:
2024-01-10 16:57:01 +01:00
parent 01fd7bad69
commit 1f1ed79ee5
3 changed files with 21 additions and 15 deletions

View File

@ -4,7 +4,7 @@
{{ title }}
{% endblock title %}
{% block content %}
{% if dataset.count >= 1 %}
{% if dataset_count >= 1 %}
<div class="mx-auto text-center my-4">
<a id="last-session-start"
href="{% url 'start_session_same_as_last' last.id %}"
@ -17,7 +17,7 @@
</a>
</div>
{% endif %}
{% if dataset.count != 0 %}
{% if dataset_count != 0 %}
<table class="responsive-table">
<thead>
<tr>