diff --git a/ereuse_devicehub/templates/ereuse_devicehub/user_profile.html b/ereuse_devicehub/templates/ereuse_devicehub/user_profile.html index f6560eb5..599895c0 100644 --- a/ereuse_devicehub/templates/ereuse_devicehub/user_profile.html +++ b/ereuse_devicehub/templates/ereuse_devicehub/user_profile.html @@ -32,124 +32,9 @@
-
-
-
Profile Details
- -
-
Account user
-
{{ current_user.email or ''}}
-
- - {% for u in current_user.individuals %} - -
-
Full Name
-
{{ u.get_full_name or ''}}
-
- -
-
Country
-
{{ u.country or ''}}
-
- -
-
Phone
-
{{ u.telephone or ''}}
-
- -
-
Email
-
{{ u.email or ''}}
-
- -
-
Created
-
{{ u.created.strftime('%H:%M %d-%m-%Y') or ''}}
-
- -
-
Last login
-
- {% for s in sessions %} - {{ s }}
- {% endfor %} -
-
- - {% if u.active_org %} -
-
Company name
-
{{ u.active_org.name or ''}}
-
- -
-
Company country
-
{{ u.active_org.country or '' }}
-
- -
-
Company Phone
-
{{ u.active_org.telephone or '' }}
-
- -
-
Company Email
-
{{ u.active_org.email or '' }}
-
- - {% endif %} - {% endfor %} - -
- -
- - -
- {% for f in profile_form %} - {% if f == profile_form.csrf_token %} - {{ f }} - {% else %} -
- -
- {{ f }} - {% if f.errors %} -

- {% for error in f.errors %} - {{ error }}
- {% endfor %} -

- {% endif %} -
-
- {% endif %} - {% endfor %} -
- -
-
- -
- -
+
{% for f in password_form %}