{% extends "_layouts/base.html" %} {% load static %} {% load i18n %} {% block head %} {% endblock head %} {% block content %}
{% include "journals/_partials/journal_header.html" with journal=journal tab=tab %}
{% if messages %}
{% for message in messages %}
{% if message.tags == 'error' %}⚠️{% else %}✓{% endif %} {{ message }}
{% endfor %}
{% endif %}

{% trans "Table of Contents" %}

+ {% trans "New" %} {{ journal.entry_label }}
{% if toc_volumes %}
{% for volume in toc_volumes %}
{% trans "Vol." %} {{ volume.order }}

{{ volume.title }}

{{ volume.entries_count }} {% if volume.entries_count == 1 %}{{ journal.entry_label|lower }}{% else %}{{ journal.entry_label_plural|lower }}{% endif %} +
{% if volume.description %}

{{ volume.description }}

{% endif %} {% if volume.entries.all %} {% endif %}
{% endfor %}
{% endif %} {% if toc_unassigned %}

{% if toc_volumes %}{% trans "Unassigned" %}{% else %}{% trans "All" %} {{ journal.entry_label_plural }}{% endif %}

{{ toc_unassigned|length }} {% if toc_unassigned|length == 1 %}{{ journal.entry_label|lower }}{% else %}{{ journal.entry_label_plural|lower }}{% endif %}
{% endif %} {% if not toc_volumes and not toc_unassigned %}

{% trans "No" %} {{ journal.entry_label_plural }} {% trans "Yet" %}

{% trans "Start writing and organize them into volumes." %}

{% trans "Create Your First" %} {{ journal.entry_label }}
{% endif %}
{% endblock content %} {% block scripts %} {% endblock scripts %}