2021-01-29 17:05:53 +00:00
|
|
|
{% extends 'user/user_layout.html' %}
|
2020-12-13 02:25:04 +00:00
|
|
|
{% load bookwyrm_tags %}
|
2020-11-10 21:39:37 +00:00
|
|
|
|
2021-01-29 17:05:53 +00:00
|
|
|
{% block header %}
|
|
|
|
<h1 class="title">
|
|
|
|
{% if is_self %}Your
|
|
|
|
{% else %}
|
|
|
|
{% include 'snippets/username.html' with user=user possessive=True %}
|
|
|
|
{% endif %}
|
|
|
|
followers
|
|
|
|
</h1>
|
|
|
|
{% endblock %}
|
2020-03-17 00:09:45 +00:00
|
|
|
|
2021-01-29 17:05:53 +00:00
|
|
|
{% block panel %}
|
2020-09-29 20:39:44 +00:00
|
|
|
<div class="block">
|
|
|
|
<h2 class="title">Followers</h2>
|
2020-03-17 00:09:45 +00:00
|
|
|
{% for followers in followers %}
|
2021-02-23 21:04:24 +00:00
|
|
|
<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 %}
|
2020-03-17 00:09:45 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% if not followers.count %}
|
|
|
|
<div>{{ user|username }} has no followers</div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|