You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
934 B

  1. {% extends "base.html" %}
  2. {% block title %}Flasky - {{ user.username }}{% endblock %}
  3. {% block page_content %}
  4. <div class="page-header">
  5. <h1>{{ user.username }}</h1>
  6. {% if user.name or user.location %}
  7. <p>
  8. {% if user.name %}
  9. {{ user.name }}{% endif %}
  10. {% if user.location %}from
  11. <a href="https://maps.google.com/?q={{ user.location }}">
  12. {{ user.location }}</a>
  13. {% endif %}
  14. </p>
  15. {% endif %}
  16. {% if user.is_administrator %}
  17. <p><a href="mailto:{{ user.email }}">{{ user.email }}</a></p>
  18. {% endif %}
  19. {% if user.about_me %}
  20. <p>{{ user.about_me }}</p>
  21. {% endif %}
  22. <p>
  23. Member since {{ moment(user.member_since).format('L') }}.
  24. Last seen {{ moment(user.last_seen).fromNow() }}.
  25. </p>
  26. </div>
  27. {% endblock %}