diff --git a/apps/participation/templates/participation/team_detail.html b/apps/participation/templates/participation/team_detail.html index a78330d..3e5d6c6 100644 --- a/apps/participation/templates/participation/team_detail.html +++ b/apps/participation/templates/participation/team_detail.html @@ -103,7 +103,7 @@
- {% trans "Download all authorizations" %} + {% trans "Download all submitted authorizations" %}
diff --git a/apps/registration/templates/registration/user_detail.html b/apps/registration/templates/registration/user_detail.html index ff3c6ad..757c15e 100644 --- a/apps/registration/templates/registration/user_detail.html +++ b/apps/registration/templates/registration/user_detail.html @@ -65,8 +65,8 @@ {% endif %} - {% if user_object.registration.studentregistration and user_object.registration.participation.tournament and not user_object.registration.participation.tournament.remote %} - {% if user_object.registration.under_18 %} + {% if user_object.registration.studentregistration %} + {% if user_object.registration.under_18 and user_object.registration.team.participation.tournament and not user_object.registration.team.participation.tournament.remote %}
{% trans "Health sheet:" %}
{% if user_object.registration.health_sheet %} @@ -150,7 +150,7 @@ {% if user.pk == user_object.pk or user.registration.is_admin %} - {% trans "Update user" as modal_title %} - {% trans "Update" as modal_button %} - {% url "registration:update_user" pk=user_object.pk as modal_action %} - {% include "base_modal.html" with modal_id="updateUser" %} - {% if user_object.registration.team and not user_object.registration.team.participation.valid %} {% trans "Upload photo authorization" as modal_title %} {% trans "Upload" as modal_button %} @@ -196,11 +191,6 @@ {% block extrajavascript %}