microblog.pub/app/templates/followers.html

23 lines
532 B
HTML
Raw Normal View History

2022-06-25 08:20:07 +00:00
{%- import "utils.html" as utils with context -%}
2022-06-22 18:11:22 +00:00
{% extends "layout.html" %}
{% 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 18:10:25 +00:00
{% set x_more = followers_count - followers | length %}
{% if x_more > 0 %}
<p>And {{ x_more }} more.</p>
{% endif %}
{% if is_admin %}
<p><a href="{{ url_for("admin_inbox") }}?filter_by=Follow">Manage followers</a></p>
{% endif %}
2022-06-22 18:11:22 +00:00
</div>
{% endblock %}