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
907 B

  1. {% extends "base.html" %}
  2. {% import "_macros.html" as macros %}
  3. {% block title %}Flasky - {{ title }} {{ user.username }}{% endblock %}
  4. {% block page_content %}
  5. <div class="page-header">
  6. <h1>{{ title }} {{ user.username }}</h1>
  7. </div>
  8. <table class="table table-hover followers">
  9. <thead><tr><th>User</th><th>Since</th></tr></thead>
  10. {% for follow in follows %}
  11. {% if follow.user != user %}
  12. <tr>
  13. <td>
  14. <a href="{{ url_for('.user', username = follow.user.username) }}">
  15. <img class="img-rounded" src="{{ follow.user.gravatar(size=32) }}">
  16. {{ follow.user.username }}
  17. </a>
  18. </td>
  19. <td>{{ moment(follow.timestamp).format('L') }}</td>
  20. </tr>
  21. {% endif %}
  22. {% endfor %}
  23. </table>
  24. <div class="pagination">
  25. {{ macros.pagination_widget(pagination, endpoint, username = user.username) }}
  26. </div>
  27. {% endblock %}