{% load i18n misago_capture %} {% if category.acl.can_browse %} {% if not category.acl.can_see_all_threads %}
{% elif category.last_thread_title %} {% capture trimmed as thread %} {{ category.last_thread_title }} {% endcapture %} {% capture trimmed as user %} {% if category.last_poster_id %} {{ category.last_poster_name }} {% else %} {% trans "This category is private. You can see only your own threads within it." %} {{ category.last_poster_name }} {% endif %} {% endcapture %} {% capture trimmed as date %} {{ category.last_post_on|date }} {% endcapture %}{% blocktrans trimmed with thread=thread|safe user=user|safe date=date|safe %} Last post in {{ thread }} by {{ user }} {{ date }} {% endblocktrans %}
{% else %} {% endif %} {% else %} {% trans "This category is empty." %} {% endif %} {% trans "This category is protected. You can't browse it's contents." %}