forked from mirrors/bookwyrm
33 lines
981 B
HTML
33 lines
981 B
HTML
{% extends 'user/user_layout.html' %}
|
|
{% load i18n %}
|
|
{% load bookwyrm_tags %}
|
|
|
|
{% block header %}
|
|
<h1 class="title">
|
|
{% if is_self %}Your
|
|
{% else %}
|
|
{% include 'snippets/username.html' with user=user possessive=True %}
|
|
{% endif %}
|
|
followers
|
|
</h1>
|
|
{% endblock %}
|
|
|
|
{% block panel %}
|
|
<div class="block">
|
|
<h2 class="title">{% trans "Followers" %}</h2>
|
|
{% for followers in followers %}
|
|
<div class="block columns">
|
|
<div class="column">
|
|
{% include 'snippets/avatar.html' with user=followers %}
|
|
{% include 'snippets/username.html' with user=followers show_full=True %}
|
|
</div>
|
|
<div class="column is-narrow">
|
|
{% include 'snippets/follow_button.html' with user=followers %}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
{% if not followers.count %}
|
|
<div>{% blocktrans with username=user|username %}{{ username }} has no followers{% endblocktrans %}</div>
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %}
|