2018-07-09 07:57:23 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h1>
|
|
|
|
{{ profile.name }}
|
|
|
|
<small>@{{ profile.user.username}}</small>
|
|
|
|
</h1>
|
2018-07-09 06:33:04 +00:00
|
|
|
{% if profile.user != current_user %}
|
|
|
|
<a href="{{ url_for('follow_user', username=profile.user.username) }}">{% trans %}Follow{% endtrans %}
|
|
|
|
{% endif %}
|
2018-07-09 11:04:55 +00:00
|
|
|
|
|
|
|
<h2>
|
|
|
|
{% trans %}Follows{% endtrans %}
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
{% for followed in profile.followed_list %}
|
|
|
|
{{ followed }}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
<h2>
|
|
|
|
{% trans %}Followers{% endtrans %}
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
{% for follower in profile.follower_list %}
|
|
|
|
{{ follower }}
|
|
|
|
{% endfor %}
|
2018-07-09 07:57:23 +00:00
|
|
|
{% endblock content %}
|