From c8a0882b31948d9d7ee3f75e85bb76d9f1d7509b Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Wed, 14 Aug 2019 15:16:03 +0200 Subject: [PATCH] Use detailed list on user profile --- templates/member/profile_detail.html | 40 +++++++++++++++++----------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/templates/member/profile_detail.html b/templates/member/profile_detail.html index 11ad6539..ea2f0f07 100644 --- a/templates/member/profile_detail.html +++ b/templates/member/profile_detail.html @@ -1,19 +1,27 @@ {% extends "base.html" %} -{% load static %} -{% block content %} +{% load i18n static %} -
Compte n° {{object.pk}}
- - - - - - - - - - - - -
Nom{{ object.user.name }}
Prénom {{object.user.first_name}}
Pseudo {{object.user.username}}
Aliases{{object.user.note.aliases_set.all }}
Pseudo {{object.user.username}}
Section {{object.section}}
Adresse {{object.address}}
Solde {{object.user.note.balance}}
+{% block content %} +

Compte n° {{ object.pk }}

+ + + +
+
{% trans 'name'|capfirst %}
+
{{ object.user.name }}
+
{% trans 'first name'|capfirst %}
+
{{ object.user.first_name }}
+
{% trans 'username'|capfirst %}
+
{{ object.user.username }}
+
Aliases
+
{{ object.user.note.aliases_set.all }}
+
{% trans 'section'|capfirst %}
+
{{ object.section }}
+
{% trans 'address'|capfirst %}
+
{{ object.address }}
+
{% trans 'balance'|capfirst %}
+
{{ object.user.note.balance }}
+
+ + {% trans 'Change password' %} {% endblock %}