{% extends 'base.html' %} {% block title %}Catalogue{% endblock %} {% macro cards(movies, recent=false) %} {% endmacro %} {% block content %}

Catalogue

{% include 'logo.html' %}

Movies: {{ '{:,}'.format(catalogue_counts.movies) }}

TV Shows: {{ '{:,}'.format(catalogue_counts.tv_shows) }}

TV Series: {{ '{:,}'.format(catalogue_counts.tv_seasons) }}

TV Episodes: {{ '{:,}'.format(catalogue_counts.tv_episodes) }}

{{ 'Random picks' if random_search else 'Recent additions' }}

{% if not random_search %}
{% if not selected_categories %}{% endif %} {% for category_id in selected_categories %}{% endfor %} {% if search_title %}{% endif %} {% if search_index %}{% endif %} {% if recent_page > 0 %} {% endif %} {% if has_older %} {% endif %}
{% endif %}
{% if recent %}{{ cards(recent, true) }} {% elif random_search %}

No shows, episodes or movies in the catalogue yet.

{% elif recent_page > 0 %}

No older additions.

{% else %}

No movies in the catalogue yet.

{% endif %}

Title Search

Search Index

Category Search

Random Search

{% if search_title or selected_categories or search_index %}

Search Results ({{ movies | length }})

{% if movies %}{{ cards(movies) }} {% else %}

{% if search_index %}No titles found in this index group.{% elif selected_categories %}No movies or TV shows found in the selected categories.{% else %}No titles found for “{{ search_title }}”.{% endif %}

{% endif %}
{% endif %} {% endblock %}