{% extends "base.html" %} {% load static %} {% load app_tags %} {% block title %} {% if request.user != target_user %}{{ target_user.username }}'s{% endif %} {{ media_type|media_type_readable_plural }} - Yamtrack {% endblock title %} {% block content %}

{% if request.user != target_user %}{{ target_user.username }}'s{% endif %} {{ media_type|media_type_readable_plural }}

{% include "app/icons/magnifying-glass.svg" with classes="w-6 h-6 absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400" %}
{% for value, label in status_choices %} {% endfor %}
{% for value, label in sort_choices %} {% endfor %}
{% if not media_list %}
{% include "app/icons/edit.svg" with classes="w-8 h-8 text-gray-400" %}

No {{ media_type|media_type_readable_plural }} Tracked Yet

{% if request.user == target_user %}

Start tracking your {{ media_type_plural }} to keep a record of what you've {{ media_type|media_past_verb }}.

Browse {{ media_type|media_type_readable_plural }} {% endif %}
{% elif current_layout == "grid" %}
{% include "app/components/media_grid_items.html" %}
{% else %}
{% if media_type != MediaTypes.MOVIE.value %}{% endif %} {% if media_type == MediaTypes.TV.value %}{% endif %} {% include "app/components/media_table_items.html" %}
Title ScoreProgressLast WatchedStatus Start Date End Date
{% endif %}
{% endblock content %} {% block sidebar_own_media %} {% if request.user.is_authenticated %}{{ block.super }}{% endif %} {% endblock sidebar_own_media %} {% block sidebar_external_media_view %} {% if target_user != request.user %} {% endif %} {% endblock sidebar_external_media_view %} {% block sidebar_utilities %} {% if request.user.is_authenticated %}{{ block.super }}{% endif %} {% endblock sidebar_utilities %} {% block sidebar_logout %} {% if request.user.is_authenticated %}{{ block.super }}{% endif %} {% endblock sidebar_logout %} {% block anonymous_login %} {% if not request.user.is_authenticated %}
Sign In
{% endif %} {% endblock anonymous_login %} {% block search_bar %} {% if request.user.is_authenticated %}{{ block.super }}{% endif %} {% endblock search_bar %}