2018-05-13 11:53:58 +00:00
|
|
|
{% extends "base" %}
|
2018-07-25 13:50:29 +00:00
|
|
|
{% import "macros" as macros %}
|
2018-05-13 11:53:58 +00:00
|
|
|
|
2018-06-12 20:14:49 +00:00
|
|
|
{% block title %}
|
2018-07-26 14:36:19 +00:00
|
|
|
{{ "{{ name | escape }}'s followers" | _(name=user.name) }}
|
2018-05-13 11:53:58 +00:00
|
|
|
{% endblock title %}
|
|
|
|
|
|
|
|
{% block content %}
|
2018-06-17 17:48:22 +00:00
|
|
|
{% include "users/header" %}
|
2018-05-13 11:53:58 +00:00
|
|
|
|
2018-09-05 15:41:31 +00:00
|
|
|
{% set user_link = ['/@', user.fqn] %}
|
|
|
|
{% set followers_link = ['/@', user.fqn, 'followers'] %}
|
|
|
|
{{ macros::tabs(links=[ user_link | join(sep='/'), followers_link | join(sep='/')], titles=['Articles', 'Followers'], selected=2) }}
|
|
|
|
|
2018-05-13 20:33:21 +00:00
|
|
|
<div class="cards">
|
2018-05-13 11:53:58 +00:00
|
|
|
{% for follower in followers %}
|
2018-05-13 20:33:21 +00:00
|
|
|
<div class="card">
|
2018-07-26 14:36:19 +00:00
|
|
|
<h3><a href="/@/{{ follower.fqn }}/">{{ follower.name }}</a> <small>@{{ follower.fqn }}</small></h3>
|
2018-06-11 14:05:18 +00:00
|
|
|
<main><p>{{ follower.summary | safe }}</p></main>
|
2018-05-13 11:53:58 +00:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2018-05-13 20:33:21 +00:00
|
|
|
</div>
|
2018-07-25 13:50:29 +00:00
|
|
|
{{ macros::paginate(page=page, total=n_pages) }}
|
2018-05-13 11:53:58 +00:00
|
|
|
{% endblock content %}
|