2022-11-12 16:25:36 +00:00
|
|
|
<div class="row">
|
2022-11-21 04:50:00 +00:00
|
|
|
<ul class="user-items">
|
|
|
|
|
2022-11-13 07:19:09 +00:00
|
|
|
{% for f in followers %}
|
2022-11-21 04:50:00 +00:00
|
|
|
<li class="row">
|
2023-06-16 19:06:01 +00:00
|
|
|
{% with url=f.user.web_url(), user_as1=f.user.obj.as1 or {} %}
|
2023-10-11 21:20:08 +00:00
|
|
|
<a class="follower col-xs-10 col-sm-10 col-lg-6" href="{{ url }}">
|
2023-06-16 19:06:01 +00:00
|
|
|
{% with picture=util.get_url(user_as1, 'icon') or util.get_url(user_as1, 'image') %}
|
2023-06-07 21:24:00 +00:00
|
|
|
{% if picture %}
|
|
|
|
<img class="profile u-photo" src="{{ picture }}" width="48px">
|
|
|
|
{% endif %}
|
|
|
|
{% endwith %}
|
2023-06-16 19:06:01 +00:00
|
|
|
{{ user_as1.get('displayName') or '' }}
|
2023-11-28 05:40:01 +00:00
|
|
|
{{ f.user.handle or url }}
|
2023-06-07 21:24:00 +00:00
|
|
|
</a>
|
|
|
|
{% endwith %}
|
|
|
|
|
2023-01-10 03:01:48 +00:00
|
|
|
{% if page_name == 'following' %}
|
|
|
|
<form method="post" action="/unfollow/start" class="col-xs-2 col-sm-1 col-lg-1">
|
2024-01-26 23:24:36 +00:00
|
|
|
<input type="hidden" name="me" value="{{ user.web_url() }}" />
|
2023-01-10 03:01:48 +00:00
|
|
|
<input type="hidden" name="key" value="{{ f.key.id() }}" />
|
|
|
|
<input type="submit" title="Unfollow (requires IndieAuth)" value="✖"
|
|
|
|
class="btn delete-website" />
|
|
|
|
</form>
|
|
|
|
{% endif %}
|
2022-11-21 04:50:00 +00:00
|
|
|
</li>
|
2022-11-12 16:25:36 +00:00
|
|
|
{% else %}
|
2023-10-11 18:28:39 +00:00
|
|
|
<span class="big">No one yet. Check back soon!</span>
|
2022-11-12 16:25:36 +00:00
|
|
|
{% endfor %}
|
2022-11-21 04:50:00 +00:00
|
|
|
|
|
|
|
</ul>
|
2022-11-12 16:25:36 +00:00
|
|
|
|
|
|
|
{% include "paging.html" %}
|