1
0
Fork 0
bookwyrm/bookwyrm/templates/user/following.html

33 lines
938 B
HTML
Raw Normal View History

2021-01-29 09:05:53 -08:00
{% extends 'user/user_layout.html' %}
2021-02-27 18:48:10 -08:00
{% load i18n %}
2020-12-12 18:25:04 -08:00
{% load bookwyrm_tags %}
2020-11-10 13:39:37 -08:00
2021-01-29 09:05:53 -08:00
{% block header %}
<h1 class="title">
{% trans "User Profile" %}
2021-01-29 09:05:53 -08:00
</h1>
{% endblock %}
2020-03-16 17:09:45 -07:00
2021-01-29 09:05:53 -08:00
{% block panel %}
2020-09-29 13:39:44 -07:00
<div class="block">
2021-02-27 18:48:10 -08:00
<h2 class="title">{% trans "Following" %}</h2>
2020-03-16 17:09:45 -07:00
{% for follower in user.following.all %}
2021-02-23 13:04:24 -08:00
<div class="block columns">
<div class="column">
2021-03-07 10:24:46 -08:00
<a href="{{ follower.local_path }}">
{% include 'snippets/avatar.html' with user=follower %}
{{ follower.display_name }}
</a>
({{ follower.username }})
2021-02-23 13:04:24 -08:00
</div>
<div class="column">
{% include 'snippets/follow_button.html' with user=follower %}
2020-03-16 17:09:45 -07:00
</div>
</div>
{% endfor %}
{% if not following.count %}
2021-02-27 18:48:10 -08:00
<div>{% blocktrans with username=user|username %}{{ username }} isn't following any users{% endblocktrans %}</div>
2020-03-16 17:09:45 -07:00
{% endif %}
</div>
{% endblock %}