- - {{ collection.title }} - {% if collection.visibility > 0 %}{% endif %} -
- -- {{ collection.owner.mastodon_account.display_name }} - @{{ collection.owner.mastodon_username }} -
-- {% for cat, count in collection.get_summary.items %} - {% if count %}{{ count }} {{ cat|prural_items }} {% endif %} - {% endfor %} -
- {% if featured_since %} -- -
+
+
+ {% if request.user.is_authenticated %}
+
+ {% liked_piece collection as liked %}
+ {% include 'like_stats.html' with liked=liked piece=collection label='关注' icon='fa-bookmark' %}
+
+ {% include '_feature_stats.html' with featured=featured_since %}
+
+
+
{% endif %}
- {{ collection.html | safe }}
-
-
-
-
+ {{ collection.title }}
+ {% if collection.visibility > 0 %}{% endif %}
+
+
+
+
+
+
+
+
+
+
+ {{ collection.owner.mastodon_account.display_name }}
+ @{{ collection.owner.mastodon_username }}
+
+
+ {% for cat, count in collection.get_summary.items %}
+ {% if count %}{{ count }} {{ cat|prural_items }} {% endif %}
+ {% endfor %}
+
+ {% if featured_since %}
+
+
+
+ {% endif %}
+ {{ collection.html | safe }}
+
+
+
+
-
- {% comment %}
+
+
+ {% comment %}
{% if featured_since %}
@@ -108,28 +107,27 @@
{% endif %}
- {% endcomment %}
-
-
-
-
-
+ {% endcomment %}
+
+
+
+
+
+ {% if request.user == collection.owner %}
+
+ {% trans '编辑' %}
+
+
+ {% trans '删除' %}
+
+ {% elif editable %}
+ {% trans '协助整理' %}
+ {% endif %}
+
+ 创建于 {{ collection.created_time | date }}
+
{% include "_sidebar.html" with user=collection.owner show_profile=1 %}
diff --git a/journal/templates/list_item_base.html b/journal/templates/list_item_base.html
index 992ec4d1..471ab456 100644
--- a/journal/templates/list_item_base.html
+++ b/journal/templates/list_item_base.html
@@ -39,7 +39,7 @@
{% endif %}
{% include "_item_card.html" with item=item %}
-{% if mark or collection_member %}
+{% if mark or collection_edit or collection_member.note %}
+ {{ collection.owner.mastodon_account.display_name }} + @{{ collection.owner.mastodon_username }} +
++ {% for cat, count in collection.get_summary.items %} + {% if count %}{{ count }} {{ cat|prural_items }} {% endif %} + {% endfor %} +
+ {% if featured_since %} ++ +
+ {% endif %} +