This repository has been archived on 2023-09-24. You can view files and clone it, but cannot push or open issues or pull requests.
takahe/templates/activities/follows.html

36 lines
1.3 KiB
HTML
Raw Normal View History

{% extends "base.html" %}
2022-11-18 04:04:01 +01:00
{% block subtitle %}Follows{% endblock %}
{% block content %}
<section class="icon-menu">
{% for identity, follow_type in page_obj %}
2022-11-18 04:04:01 +01:00
<a class="option" href="{{ identity.urls.view }}">
<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>
{% if follow_type == "outbound" %}
2022-11-18 04:04:01 +01:00
<span class="pill">Following</span>
{% endif %}
{% if follow_type == "inbound" %}
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>
<div class="pagination">
{% if page_obj.has_previous %}
<div class="load-more"><a class="button" href=".?page={{ page_obj.previous_page_number }}">Previous Page</a></div>
{% endif %}
{% if page_obj.has_next %}
<div class="load-more"><a class="button" href=".?page={{ page_obj.next_page_number }}">Next Page</a></div>
{% endif %}
</div>
2022-11-18 04:04:01 +01:00
{% endblock %}