microblog.pub/app/templates/followers.html

30 lines
653 B
HTML
Raw Normal View History

2022-06-25 10:20:07 +02:00
{%- import "utils.html" as utils with context -%}
2022-06-22 20:11:22 +02:00
{% extends "layout.html" %}
2022-07-15 20:01:55 +02:00
{% block head %}
<title>{{ local_actor.display_name }}'s followers</title>
{% endblock %}
2022-06-22 20:11:22 +02:00
{% block content %}
{% include "header.html" %}
<div id="followers">
<ul>
{% for follower in followers %}
<li>{{ utils.display_actor(follower.actor, actors_metadata) }}</li>
{% endfor %}
</ul>
2022-06-28 20:10:25 +02:00
{% set x_more = followers_count - followers | length %}
{% if x_more > 0 %}
<p>And {{ x_more }} more.</p>
{% endif %}
{% if is_admin %}
2022-07-09 09:33:34 +02:00
<div class="box">
<p><a href="{{ url_for("admin_inbox") }}?filter_by=Follow">Manage followers</a></p>
</div>
2022-06-28 20:10:25 +02:00
{% endif %}
2022-06-22 20:11:22 +02:00
</div>
{% endblock %}