diff --git a/apps/registration/templates/registration/user_detail.html b/apps/registration/templates/registration/user_detail.html index 06800af..fb4ee6b 100644 --- a/apps/registration/templates/registration/user_detail.html +++ b/apps/registration/templates/registration/user_detail.html @@ -7,35 +7,36 @@
-

{{ user.first_name }} {{ user.last_name }}

+

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

{% trans "Last name:" %}
-
{{ user.last_name }}
+
{{ user_object.last_name }}
{% trans "First name:" %}
-
{{ user.first_name }}
+
{{ user_object.first_name }}
{% trans "Email:" %}
-
{{ user.email }}
+
{{ user_object.email }} + {% if not user_object.registration.email_confirmed %} ({% trans "Not confirmed" %}, {% trans "resend the validation link" %}){% endif %}
- {% if user.registration.studentregistration %} + {% if user_object.registration.studentregistration %}
{% trans "Student class:" %}
-
{{ user.registration.get_student_class_display }}
+
{{ user_object.registration.get_student_class_display }}
{% trans "School:" %}
-
{{ user.registration.school }}
- {% elif user.registration.coachregistration %} +
{{ user_object.registration.school }}
+ {% elif user_object.registration.coachregistration %}
{% trans "Profesional activity:" %}
-
{{ user.registration.professional_activity }}
- {% elif user.registration.adminregistration %} +
{{ user_object.registration.professional_activity }}
+ {% elif user_object.registration.adminregistration %}
{% trans "Role:" %}
-
{{ user.registration.role }}
+
{{ user_object.registration.role }}
{% endif %}
{% trans "Grant Animath to contact me in the future about other actions:" %}
-
{{ user.registration.give_contact_to_animath|yesno }}
+
{{ user_object.registration.give_contact_to_animath|yesno }}