microblog.pub/templates/followers.html

37 lines
1 KiB
HTML
Raw Normal View History

2018-05-18 13:41:41 -05:00
{% extends "layout.html" %}
{% import 'utils.html' as utils %}
2018-05-21 14:03:21 -05:00
{% block title %}Followers - {{ config.NAME }}{% endblock %}
2018-05-18 13:41:41 -05:00
{% block header %}
{% endblock %}
{% block content %}
<div id="container">
{% include "header.html" %}
2019-09-08 07:54:47 -05:00
<main>
2018-05-18 13:41:41 -05:00
<div id="followers">
2019-09-01 04:32:12 -05:00
{% for meta in followers_data %}
{% set follower = meta.actor %}
2019-08-27 16:02:19 -05: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 04:32:12 -05:00
{% if meta.notification_follows_back %}
<span class="bar-item-no-hover">following</span>
{% endif %}
2019-08-27 16:02:19 -05:00
</div>
{% endif %}
2018-06-23 05:01:31 -05:00
<div style="height: 100px;">
{{ utils.display_actor_inline(follower, size=80) }}
</div>
2018-05-18 13:41:41 -05:00
{% endfor %}
{{ utils.display_pagination(older_than, newer_than) }}
2018-05-18 13:41:41 -05:00
</div>
2019-09-08 07:54:47 -05:00
</main>
2018-05-18 13:41:41 -05: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 %}