lib.itmens/journal/templates/user_collection_list.html
2023-12-29 22:27:28 -05:00

54 lines
1.7 KiB
HTML

{% load static %}
{% load i18n %}
{% load l10n %}
{% load humanize %}
{% load admin_url %}
{% load mastodon %}
{% load oauth_token %}
{% load truncate %}
{% load user_actions %}
{% load thumb %}
<!DOCTYPE html>
<html lang="zh" class="classic-page">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ site_name }} - {{ identity.display_name }} -
{% if liked %}喜欢的{% endif %}
收藏单</title>
{% include "common_libs.html" with jquery=0 v2=1 %}
</head>
<body>
{% include "_header.html" %}
<main>
<div class="grid__main">
<h5>
{{ identity.display_name }} -
{% if liked %}喜欢的{% endif %}
收藏单
</h5>
{% for collection in collections %}
<p>
<div class="action">
{% if collection.latest_post %}
{% include "action_like_post.html" with post=collection.latest_post %}
{% include "action_boost_post.html" with post=collection.latest_post %}
{% include "action_open_post.html" with post=collection.latest_post %}
{% endif %}
</div>
<span><a href="{{ collection.url }}">{{ collection.title }}</a></span>
{% if liked %}
-
<a href="{{ collection.owner.url }}"
title="@{{ collection.owner.handler }}">{{ collection.owner.display_name }}</a>
{% endif %}
</p>
{% empty %}
<div class="empty">暂无</div>
{% endfor %}
</div>
{% include "_sidebar.html" with show_profile=1 %}
</main>
{% include "_footer.html" %}
</body>
</html>