Le repo des sources pour le site web des JM2L
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 

46 Zeilen
1.2 KiB

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