2022-12-04 17:41:41 +01:00
|
|
|
{% extends "base.html" %}
|
2022-11-18 04:04:01 +01:00
|
|
|
|
|
|
|
{% block subtitle %}Follows{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2022-12-17 01:24:56 +01:00
|
|
|
<div class="view-options">
|
|
|
|
{% if inbound %}
|
2022-12-17 01:32:04 +01:00
|
|
|
<a href=".">Your Follows ({{ num_outbound }})</a>
|
|
|
|
<a href="." class="selected">Follows You ({{ num_inbound }})</a>
|
2022-12-17 01:24:56 +01:00
|
|
|
{% else %}
|
2022-12-17 01:32:04 +01:00
|
|
|
<a href=".?inbound=true" class="selected">Your Follows ({{ num_outbound }})</a>
|
|
|
|
<a href=".?inbound=true">Follows You ({{ num_inbound }})</a>
|
2022-12-17 01:24:56 +01:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
|
2022-11-18 04:04:01 +01:00
|
|
|
<section class="icon-menu">
|
2022-12-17 01:24:56 +01:00
|
|
|
{% for identity in page_obj %}
|
2022-11-18 04:04:01 +01:00
|
|
|
<a class="option" href="{{ identity.urls.view }}">
|
2022-12-12 15:22:11 +01:00
|
|
|
<img src="{{ identity.local_icon_url.relative }}">
|
2022-11-18 04:04:01 +01:00
|
|
|
<span class="handle">
|
2022-12-15 08:50:54 +01:00
|
|
|
{{ identity.html_name_or_handle }}
|
2022-11-18 04:04:01 +01:00
|
|
|
<small>@{{ identity.handle }}</small>
|
|
|
|
</span>
|
2022-12-17 01:24:56 +01:00
|
|
|
{% if identity.id in outbound_ids %}
|
2022-11-18 04:04:01 +01:00
|
|
|
<span class="pill">Following</span>
|
|
|
|
{% endif %}
|
2022-12-17 01:24:56 +01:00
|
|
|
{% if identity.id in inbound_ids %}
|
2022-11-18 04:04:01 +01:00
|
|
|
<span class="pill">Follows You</span>
|
|
|
|
{% endif %}
|
|
|
|
</a>
|
|
|
|
{% empty %}
|
|
|
|
<p class="option empty">You have no follows.</p>
|
|
|
|
{% endfor %}
|
|
|
|
</section>
|
2022-12-17 01:06:29 +01:00
|
|
|
|
|
|
|
<div class="pagination">
|
|
|
|
{% if page_obj.has_previous %}
|
2022-12-17 01:32:04 +01:00
|
|
|
<a class="button" href=".?page={{ page_obj.previous_page_number }}{% if inbound %}&inbound=true{% endif %}">Previous Page</a>
|
2022-12-17 01:06:29 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if page_obj.has_next %}
|
2022-12-17 01:32:04 +01:00
|
|
|
<a class="button" href=".?page={{ page_obj.next_page_number }}{% if inbound %}&inbound=true{% endif %}">Next Page</a>
|
2022-12-17 01:06:29 +01:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
2022-11-18 04:04:01 +01:00
|
|
|
{% endblock %}
|