2025-04-08 15:49:41 -04:00
|
|
|
{% extends "profile/base.html" %} {% block content %} {% if pinned|length != 0
|
|
|
|
%}
|
2025-04-07 16:07:01 -04:00
|
|
|
<div class="card-nest">
|
|
|
|
<div class="card small flex gap-2 items-center">
|
|
|
|
{{ icon "pin" }}
|
|
|
|
<span>{{ text "communities:label.pinned" }}</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card flex flex-col gap-4">
|
|
|
|
<!-- prettier-ignore -->
|
|
|
|
{% for post in pinned %}
|
|
|
|
{{ components::post(post=post[0], owner=post[1], secondary=true, community=post[2], show_community=true, can_manage_post=is_self) }}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2025-03-29 00:26:56 -04:00
|
|
|
<div class="card-nest">
|
|
|
|
<div class="card small flex gap-2 items-center">
|
|
|
|
{{ icon "clock" }}
|
|
|
|
<span>{{ text "auth:label.recent_posts" }}</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card flex flex-col gap-4">
|
|
|
|
<!-- prettier-ignore -->
|
|
|
|
{% for post in posts %}
|
2025-04-07 16:07:01 -04:00
|
|
|
{{ components::post(post=post[0], owner=post[1], secondary=true, community=post[2], show_community=true, can_manage_post=is_self) }}
|
2025-03-29 00:26:56 -04:00
|
|
|
{% endfor %}
|
2025-04-01 16:12:13 -04:00
|
|
|
|
|
|
|
{{ components::pagination(page=page, items=posts|length) }}
|
2025-03-29 00:26:56 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|