{% load static %} {% load i18n %} {% load l10n %} {% load humanize %} {% load mastodon %} {% load thumb %} {% load collection %} {% load user_actions %} {{ site_name }} - {% trans 'Collection' %} - {{ collection.title }} {% include "common_libs.html" %} {% include "_header.html" %}

{% if request.user.is_authenticated %} {% include '_feature_stats.html' with featured=featured_since %} {% endif %} {% if collection.latest_post %} {% include "action_like_post.html" with post=collection.latest_post %} {% include "action_boost_post.html" with post=collection.latest_post %} {% endif %}
{{ collection.title }} {% if collection.visibility > 0 %}{% endif %}

{{ collection.owner.display_name }}

{{ collection.owner.display_name }} @{{ collection.owner.handle }}

{% for cat, count in collection.get_summary.items %} {% if count %} {% prural_items count cat %}   {% endif %} {% endfor %}

{% if featured_since %}

{% endif %}
{{ collection.html_content | safe }}
{% comment %} {% if featured_since %}
{% if stats.progress %} {{ stats.progress }} in progress
{% endif %} {% if stats.complete %} {{ stats.complete }} completed {% elif not stats.progress %} not started {% endif %}
Started {{ featured_since|date }}
{% endif %} {% endcomment %}
{% if request.user.is_authenticated %} {{ collection.latest_post.stats.replies | default:'' }} {% trans "Reply" %} {% if request.user.identity == collection.owner %} {% trans 'Edit' %} {% trans 'Delete' %} {% elif editable %} {% trans 'Collaborative editing' %} {% endif %} {% endif %} {% if collection.latest_post %} {% include "action_open_post.html" with post=collection.latest_post %} {% endif %} {% trans "Created date" %}: {{ collection.created_time|date }}
{% include "_sidebar.html" with identity=collection.owner show_profile=1 %}
{% include "_footer.html" %}