Le repo des sources pour le site web des JM2L
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

53 lines
1.4 KiB

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