2018-07-09 07:57:23 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
{% block content %}
|
2018-07-25 06:24:10 +00:00
|
|
|
<h2 class="ui header">
|
|
|
|
{% if profile.builtin_avatar %}
|
|
|
|
<img src="{{ url_for('static', filename='avatars/' + profile.builtin_avatar + '.svg') }}" alt="" class="ui circular image">
|
|
|
|
{% endif %}
|
2018-07-12 10:18:51 +00:00
|
|
|
{% if profile.locked %}
|
2018-07-13 11:26:08 +00:00
|
|
|
<i class="fa fa-lock" aria-hidden="true" title="{% trans %}locked profile{% endtrans %}"></i>
|
|
|
|
<span class="sr-only">{% trans %}locked profile{% endtrans %}</span>
|
2018-07-12 10:18:51 +00:00
|
|
|
{% endif %}
|
2018-07-11 07:35:32 +00:00
|
|
|
{{ profile.display_name }}
|
2018-07-09 07:57:23 +00:00
|
|
|
<small>@{{ profile.user.username}}</small>
|
2018-07-25 06:24:10 +00:00
|
|
|
</h2>
|
2018-07-09 06:33:04 +00:00
|
|
|
{% if profile.user != current_user %}
|
2018-07-09 14:13:31 +00:00
|
|
|
<a href="{{ url_for('follow_user', username=profile.user.username) }}">{% trans %}Follow{% endtrans %}</a>
|
2018-07-09 06:33:04 +00:00
|
|
|
{% 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 %}
|