diff --git a/jarvis/followup/templates/chronos/list.html b/jarvis/followup/templates/chronos/list.html index ec4fefa..400512c 100644 --- a/jarvis/followup/templates/chronos/list.html +++ b/jarvis/followup/templates/chronos/list.html @@ -24,63 +24,63 @@
-
- {% if gymnast %} - + {% else %} + {% if chrono_list %} +
@@ -128,8 +128,8 @@ {% else %}

There are no chronos corresponding to your criterias.

{% endif %} - {% endif %} + {% endif %} {% endblock %} diff --git a/jarvis/followup/views_chrono.py b/jarvis/followup/views_chrono.py index dca60b7..94e1803 100644 --- a/jarvis/followup/views_chrono.py +++ b/jarvis/followup/views_chrono.py @@ -476,7 +476,7 @@ def chrono_create_or_update(request, chrono_id=None, gymnast_id=None): ) return HttpResponseRedirect( - reverse("gymnast_details_tab", args=(new_chrono.gymnast.id, "scores")) + reverse("chrono_list_for_gymnast", args=(new_chrono.gymnast.id,)) ) return render(request, "chronos/create.html", {"form": form})