blob: 4a9f6d15fc73c540386462332a24dea6b1fa0f88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<%inherit file="jm2l:templates/layout.mako"/>
<%namespace name="helpers" file="jm2l:templates/helpers.mako"/>
% if request.user and (DispUser.uid==request.user.uid or request.user.uid==1):
<a style="float:right;" href="/MesJM2L?user=${DispUser.uid}">Editer</a>
% endif
<h2>${DispUser.prenom} ${DispUser.nom}</h2>
<div class="titleborderbox">
<strong>Son profil</strong>.
% if DispUser.pseudo:
(${DispUser.pseudo})
%endif
</div>
<div class="media borderbox">
${helpers.show_pictures(DispUser)}
<div class="media-body">
% if DispUser.bio:
${DispUser.bio | n}
% else:
<i>Ce profil n'a pas été complété.</i>
% endif
</div>
</div>
<div class="footborderbox">
% if DispUser.website:
<div style="float:right;">
<a href="${DispUser.website}">${DispUser.website}</a>
</div>
% endif
</div>
<br />
% if DispUser.tiers:
<hr/>
<h4>Fait la promotion de ...</h4>
${helpers.show_SummaryEntities(DispUser.tiers)}
% endif
% if DispUser.events:
<hr/>
<h4>Ses interventions :</h4>
${helpers.show_Interventions(DispUser.events)}
% endif
<p style="float:right;">Créé le ${DispUser.created.strftime('%d %b %Y').decode('utf-8')}</p>
|