{% extends "base.html" %} {% load i18n %} {% block content %} {% trans "any" as any %}

{{ user_object.first_name }} {{ user_object.last_name }}

{% trans "Last name:" %}
{{ user_object.last_name }}
{% trans "First name:" %}
{{ user_object.first_name }}
{% trans "Email:" %}
{{ user_object.email }} {% if not user_object.registration.email_confirmed %} ({% trans "Not confirmed" %}, {% trans "resend the validation link" %}){% endif %}
{% if user_object == user %}
{% trans "Password:" %}
{% trans "Change password" %}
{% endif %} {% if user_object.registration.participates %}
{% trans "Team:" %}
{% trans "any" as any %}
{{ user_object.registration.team|default:any }}
{% if user_object.registration.studentregistration %}
{% trans "Birth date:" %}
{{ user_object.registration.birth_date }}
{% endif %}
{% trans "Gender:" %}
{{ user_object.registration.get_gender_display }}
{% trans "Address:" %}
{{ user_object.registration.address }}, {{ user_object.registration.zip_code|stringformat:'05d' }} {{ user_object.registration.city }}
{% trans "Phone number:" %}
{{ user_object.registration.phone_number }}
{% trans "Health issues:" %}
{{ user_object.registration.health_issues|default:any }}
{% trans "Photo authorization:" %}
{% if user_object.registration.photo_authorization %} {% trans "Download" %} {% endif %} {% if user_object.registration.team and not user_object.registration.team.participation.valid %} {% endif %}
{% endif %} {% 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 %} {% trans "Download" %} {% endif %} {% if user_object.registration.team and not user_object.registration.team.participation.valid %} {% endif %}
{% trans "Vaccine sheet:" %}
{% if user_object.registration.vaccine_sheet %} {% trans "Download" %} {% endif %} {% if user_object.registration.team and not user_object.registration.team.participation.valid %} {% endif %}
{% trans "Parental authorization:" %}
{% if user_object.registration.parental_authorization %} {% trans "Download" %} {% endif %} {% if user_object.registration.team and not user_object.registration.team.participation.valid %} {% endif %}
{% endif %}
{% trans "Student class:" %}
{{ user_object.registration.get_student_class_display }}
{% trans "School:" %}
{{ user_object.registration.school }}
{% trans "Responsible name:" %}
{{ user_object.registration.responsible_name }}
{% trans "Responsible phone number:" %}
{{ user_object.registration.responsible_phone }}
{% trans "Responsible email address:" %}
{% with user_object.registration.responsible_email as email %}
{{ email }}
{% endwith %} {% elif user_object.registration.coachregistration or user_object.registration.is_volunteer %}
{% trans "Profesional activity:" %}
{{ user_object.registration.professional_activity }}
{% if user_object.registration.is_volunteer %}
{% trans "Admin:" %}
{{ user_object.registration.is_admin|yesno }}
{% endif %} {% endif %}
{% trans "Grant Animath to contact me in the future about other actions:" %}
{{ user_object.registration.give_contact_to_animath|yesno }}
{% if user_object.registration.participates and user_object.registration.team.participation.valid %}
{% trans "Payment information:" %}
{% trans "yes,no,pending" as yesnodefault %} {% with info=user_object.registration.payment.additional_information %} {% if info %} {{ user_object.registration.payment.get_type_display }}, {% trans "valid:" %} {{ user_object.registration.payment.valid|yesno:yesnodefault }} {% else %} {{ user_object.registration.payment.get_type_display }}, {% trans "valid:" %} {{ user_object.registration.payment.valid|yesno:yesnodefault }} {% endif %} {% if user.registration.is_admin or user_object.registration.payment.valid is False %} {% endif %} {% if user_object.registration.payment.type == "scholarship" %} {% if user.registration.is_admin or user == user_object %} {% trans "Download scholarship attestation" %} {% endif %} {% endif %} {% endwith %}
{% endif %}
{% if user.pk == user_object.pk or user.registration.is_admin %} {% endif %}
{% 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 %} {% url "registration:upload_user_photo_authorization" pk=user_object.registration.pk as modal_action %} {% include "base_modal.html" with modal_id="uploadPhotoAuthorization" modal_enctype="multipart/form-data" %} {% trans "Upload health sheet" as modal_title %} {% trans "Upload" as modal_button %} {% url "registration:upload_user_health_sheet" pk=user_object.registration.pk as modal_action %} {% include "base_modal.html" with modal_id="uploadHealthSheet" modal_enctype="multipart/form-data" %} {% trans "Upload vaccine sheet" as modal_title %} {% trans "Upload" as modal_button %} {% url "registration:upload_user_vaccine_sheet" pk=user_object.registration.pk as modal_action %} {% include "base_modal.html" with modal_id="uploadVaccineSheet" modal_enctype="multipart/form-data" %} {% trans "Upload parental authorization" as modal_title %} {% trans "Upload" as modal_button %} {% url "registration:upload_user_parental_authorization" pk=user_object.registration.pk as modal_action %} {% include "base_modal.html" with modal_id="uploadParentalAuthorization" modal_enctype="multipart/form-data" %} {% trans "Upload parental authorization" as modal_title %} {% trans "Upload" as modal_button %} {% url "registration:upload_user_parental_authorization" pk=user_object.registration.pk as modal_action %} {% include "base_modal.html" with modal_id="uploadParentalAuthorization" modal_enctype="multipart/form-data" %} {% endif %} {% if user_object.registration.team.participation.valid %} {% trans "Update payment" as modal_title %} {% trans "Update" as modal_button %} {% url "registration:update_payment" pk=user_object.registration.payment.pk as modal_action %} {% include "base_modal.html" with modal_id="updatePayment" modal_additional_class="modal-xl" modal_enctype="multipart/form-data" %} {% endif %} {% endblock %} {% block extrajavascript %} {% endblock %}