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-06-07 21:24:00 +00:00
|
|
|
<a class="follower col-xs-10 col-sm-6 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-06-16 04:22:20 +00:00
|
|
|
{{ as2.address(f.user.as2() or url) 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">
|
2023-06-08 06:51:41 +00:00
|
|
|
<input type="hidden" name="me" value="{{ g.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 %}
|
2022-11-21 04:50:00 +00:00
|
|
|
None yet. Check back soon!
|
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" %}
|