forked from gergely/calendar-social
Gergely Polonkai
b82cacc665
This involves adding [ForkAwesome](https://forkawesome.github.io/) to the dependencies, even though it is pulled in via a CDN.
32 lines
801 B
HTML
32 lines
801 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
<h1>
|
|
{% if profile.locked %}
|
|
<i class="fa fa-lock" aria-hidden="true" title="{% trans %}locked profile{% endtrans %}"></i>
|
|
<span class="sr-only">{% trans %}locked profile{% endtrans %}</span>
|
|
{% endif %}
|
|
{{ profile.display_name }}
|
|
<small>@{{ profile.user.username}}</small>
|
|
</h1>
|
|
{% if profile.user != current_user %}
|
|
<a href="{{ url_for('follow_user', username=profile.user.username) }}">{% trans %}Follow{% endtrans %}</a>
|
|
{% endif %}
|
|
|
|
<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 %}
|
|
{% endblock content %}
|