microblog.pub/templates/followers.html

37 lines
1 KiB
HTML
Raw Normal View History

2018-05-18 18:41:41 +00:00
{% extends "layout.html" %}
{% import 'utils.html' as utils %}
2018-05-21 19:03:21 +00:00
{% block title %}Followers - {{ config.NAME }}{% endblock %}
2018-05-18 18:41:41 +00:00
{% block header %}
{% endblock %}
{% block content %}
<div id="container">
{% include "header.html" %}
2019-09-08 12:54:47 +00:00
<main>
2018-05-18 18:41:41 +00:00
<div id="followers">
2019-09-01 09:32:12 +00:00
{% for meta in followers_data %}
{% set follower = meta.actor %}
2019-08-27 21:02:19 +00:00
{% if session.logged_in %}
<div style="margin-left:90px;padding-bottom:5px;margin-bottom:15px;display:inline-block;">
<a class="bar-item" href="/admin/profile?actor_id={{follower.id}}">profile</a>
2019-09-01 09:32:12 +00:00
{% if meta.notification_follows_back %}
<span class="bar-item-no-hover">following</span>
{% endif %}
2019-08-27 21:02:19 +00:00
</div>
{% endif %}
2018-06-23 10:01:31 +00:00
<div style="height: 100px;">
{{ utils.display_actor_inline(follower, size=80) }}
</div>
2018-05-18 18:41:41 +00:00
{% endfor %}
{{ utils.display_pagination(older_than, newer_than) }}
2018-05-18 18:41:41 +00:00
</div>
2019-09-08 12:54:47 +00:00
</main>
2018-05-18 18:41:41 +00:00
</div>
{% endblock %}
{% block links %}
<link rel="alternate" href="{{ config.BASE_URL }}/followers" type="application/activity+json">
{{ utils.display_pagination_links(older_than, newer_than) }}{% endblock %}