{% extends 'groups/layout.html' %} {% load i18n %} {% load bookwyrm_tags %} {% load markdown %} {% block panel %}
{% include "groups/members.html" %}

Lists

{% if not lists %}

{% trans "This group has no lists" %}

{% else %}
{% for list in lists %}

{{ list.name }} {% include 'snippets/privacy-icons.html' with item=list %}

{% with list_books=list.listitem_set.all|slice:5 %} {% if list_books %} {% endif %} {% endwith %}
{% if list.description %} {{ list.description|to_markdown|safe|truncatechars_html:30 }} {% else %}   {% endif %}

{% include 'lists/created_text.html' with list=list %}

{% endfor %}
{% endif %} {% include "snippets/pagination.html" with page=items %}
{% endblock %}