microblog.pub/app/templates/following.html

33 lines
720 B
HTML
Raw Normal View History

2022-06-22 13:11:22 -05:00
{%- import "utils.html" as utils with context -%}
{% extends "layout.html" %}
2022-07-15 13:01:55 -05:00
{% block head %}
<title>{{ local_actor.display_name }}'s follows</title>
<meta name="robots" content="noindex, nofollow">
2022-07-15 13:01:55 -05:00
{% endblock %}
2022-06-22 13:11:22 -05:00
{% block content %}
{% include "header.html" %}
<div id="following">
<ul>
{% for follow in following %}
<li>{{ utils.display_actor(follow.actor, actors_metadata) }}</li>
{% endfor %}
</ul>
2022-06-28 13:10:25 -05:00
{% set x_more = following_count - following | length %}
{% if x_more > 0 %}
2022-08-18 13:53:51 -05:00
<div class="box">
2022-06-28 13:10:25 -05:00
<p>And {{ x_more }} more.</p>
2022-08-18 13:53:51 -05:00
</div>
2022-06-28 13:10:25 -05:00
{% endif %}
{% if is_admin %}
2022-07-09 02:33:34 -05:00
<div class="box">
<p><a href="{{ url_for("admin_outbox") }}?filter_by=Follow">Manage follows</a></p>
</div>
2022-06-28 13:10:25 -05:00
{% endif %}
2022-06-22 13:11:22 -05:00
</div>
{% endblock %}