Created
March 3, 2020 19:11
-
-
Save Porter97/63fac53690778a03c2ac37b9eae477c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "base.html" %} | |
{% import "_macros.html" as macros %} | |
{% block title %}Offbrand - {{ title }} {{ user.username }}{% endblock %} | |
{% block page_content %} | |
<div class="page-header"> | |
<h1>{{ title }} {{ user.username }}</h1> | |
</div> | |
<table class="table table-hover followers"> | |
<thead><tr><th>User</th><th>Since</th></tr></thead> | |
{% for follow in follows %} | |
{% if follow.user != user %} | |
<tr> | |
<td> | |
<a href="{{ url_for('.user', username = follow.user.username) }}"> | |
<img class="img-rounded" src="{{ follow.user.gravatar(size=32) }}"> | |
{{ follow.user.username }} | |
</a> | |
</td> | |
<td>{{ moment(follow.timestamp).format('L') }}</td> | |
</tr> | |
{% endif %} | |
{% endfor %} | |
</table> | |
<div class="pagination"> | |
{{ macros.pagination_widget(pagination, endpoint, username = user.username) }} | |
</div> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment