moviewyrm/bookwyrm/templates/followers.html

29 lines
855 B
HTML
Raw Normal View History

2020-03-17 00:09:45 +00:00
{% extends 'layout.html' %}
{% load fr_display %}
{% block content %}
2020-11-06 20:02:25 +00:00
{% include 'snippets/user_header.html' with user=user %}
2020-03-17 00:09:45 +00:00
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 %}
2020-09-29 20:39:44 +00:00
<div class="block">
<div class="field is-grouped">
<div class="control">
{% include 'snippets/avatar.html' with user=followers %}
</div>
<div class="control">
{% include 'snippets/username.html' with user=followers show_full=True %}
</div>
<div class="control">
{% include 'snippets/follow_button.html' with user=followers %}
</div>
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 %}