user-profile-follows.html
HTML document, ASCII text
1{% extends "user-profile.html" %} 2{% block title %} 3{% trans %}{{ username }}'s followed users{% endtrans %} 4{% endblock %} 5{% set active_page = "following" %} 6 7{% block content %} 8<x-hbox class="wrap homogenous"> 9{% if user.follows | length %} 10{% for followed in user.follows %} 11<x-frame style="flex-basis: 128px; --width: 128px;"> 12<article class="card" style="flex: 0 1 auto;"> 13<section class="card-main"> 14<a href="/{{ followed.followed.username }}"> 15<img class="avatar" src="/info/{{ followed.followed.username }}/avatar" style="width: 100%;"> 16<div class="thumbnail-marquee"> 17<span class="inner-thumbnail-marquee" style="animation-play-state: paused;">{{ followed.followed.username }}</span> 18</div> 19</a> 20</section> 21</article> 22</x-frame> 23{% endfor %} 24{% else %} 25<p>{% trans %}This user isn't following anyone yet.{% endtrans %}</p> 26{% endif %} 27</x-hbox> 28{% endblock %} 29