2022-12-29 14:30:31 -05:00
|
|
|
{% load static %}
|
|
|
|
{% load i18n %}
|
|
|
|
{% load l10n %}
|
|
|
|
{% load humanize %}
|
|
|
|
{% load admin_url %}
|
|
|
|
{% load mastodon %}
|
|
|
|
{% load oauth_token %}
|
|
|
|
{% load truncate %}
|
2023-05-20 11:01:18 -04:00
|
|
|
{% load user_actions %}
|
2022-12-29 14:30:31 -05:00
|
|
|
{% load thumb %}
|
|
|
|
<!DOCTYPE html>
|
2023-05-23 08:08:07 -04:00
|
|
|
<html lang="zh" class="classic-page">
|
2023-05-20 11:01:18 -04:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2023-06-30 23:53:53 -04:00
|
|
|
<title>{{ site_name }} - {{ user.display_name }} -
|
2023-05-20 11:01:18 -04:00
|
|
|
{% if liked %}关注的{% endif %}
|
|
|
|
收藏单</title>
|
|
|
|
{% include "common_libs.html" with jquery=0 v2=1 %}
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{% include "_header.html" %}
|
|
|
|
<main>
|
|
|
|
<div class="grid__main">
|
|
|
|
<h5>
|
|
|
|
{{ user.display_name }} -
|
|
|
|
{% if liked %}关注的{% endif %}
|
|
|
|
收藏单
|
|
|
|
</h5>
|
|
|
|
{% for collection in collections %}
|
|
|
|
<p>
|
|
|
|
<div class="action">
|
|
|
|
<span>
|
|
|
|
{% liked_piece collection as liked %}
|
|
|
|
{% include 'like_stats.html' with liked=liked piece=collection label='关注' icon='fa-bookmark' %}
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
<a target="_blank"
|
|
|
|
rel="noopener"
|
2023-07-20 21:59:49 -04:00
|
|
|
{% if collection.shared_link %} href="{{ collection.shared_link }}" title="打开联邦宇宙分享链接" {% else %} class="disabled" {% endif %}><i class="fa-solid {% if collection.visibility > 0 %} fa-lock {% else %} fa-globe {% endif %}"></i></a>
|
2023-05-20 11:01:18 -04:00
|
|
|
</span>
|
|
|
|
<span class="timestamp">{{ collection.created_time|date }}</span>
|
2022-12-29 14:30:31 -05:00
|
|
|
</div>
|
2023-05-20 11:01:18 -04:00
|
|
|
<span><a href="{{ collection.url }}">{{ collection.title }}</a></span>
|
|
|
|
{% if liked %}
|
|
|
|
-
|
2023-06-30 23:53:53 -04:00
|
|
|
<a href="{{ collection.owner.url }}"
|
|
|
|
title="@{{ collection.owner.handler }}">{{ collection.owner.display_name }}</a>
|
2023-05-20 11:01:18 -04:00
|
|
|
{% endif %}
|
|
|
|
</p>
|
|
|
|
{% empty %}
|
|
|
|
<div class="empty">暂无</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% include "_sidebar.html" with show_profile=1 %}
|
|
|
|
</main>
|
2023-06-09 03:01:17 -04:00
|
|
|
{% include "_footer.html" %}
|
2023-05-20 11:01:18 -04:00
|
|
|
</body>
|
2022-12-29 14:30:31 -05:00
|
|
|
</html>
|