From fa4a9859c57de6b7894ff4b84b75d242f2b796f5 Mon Sep 17 00:00:00 2001 From: tr4ck3ur Date: Fri, 13 Feb 2015 02:29:37 +0100 Subject: first drop --- jm2l/templates/show_user.mako | 77 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 jm2l/templates/show_user.mako (limited to 'jm2l/templates/show_user.mako') diff --git a/jm2l/templates/show_user.mako b/jm2l/templates/show_user.mako new file mode 100644 index 0000000..f661346 --- /dev/null +++ b/jm2l/templates/show_user.mako @@ -0,0 +1,77 @@ +<%inherit file="jm2l:templates/layout.mako"/> + + % if request.user and DispUser.uid==request.user.uid or request.user.uid==1: + Editer + % endif + +

${DispUser.prenom} ${DispUser.nom}

+ +
+

+ % if DispUser.PhotosLinks or DispUser.bio or DispUser.website: +

+ Son profil. + % if DispUser.pseudo: + (${DispUser.pseudo}) + %endif +
+ + % if DispUser.PhotosLinks: +
+
+ % for img_path in DispUser.PhotosLinks: + logo + % endfor +
+ % endif +
+
+     +
+
+ % if DispUser.bio: + ${DispUser.bio | n} + % endif +
+ % if DispUser.website: +
+ ${DispUser.website} +
+ % endif +
+
+ % else: + Pas d'information + % endif +

+
+
+
+

Créé le ${DispUser.created.strftime('%d %b %Y').decode('utf-8')}

+ -- cgit v1.2.3-70-g09d2