{% extends 'base.html' %}{% from 'components.html' import heading, panel %}{% block content %} {{ heading('Watchlist', 'Track shows and media, schedule refreshes, and hand finished seasons to your library.') }} {% if can('content.write') %}{% call panel('Add to watchlist') %}
{% endcall %}{% endif %}
{% for item in items %}{% call panel(item.title) %} {% if images.get(item.id) %}{{ item.title }} poster{% endif %}
{{ item.category }}Season {{ item.season }}

{{ item.available }} available{% if item.expected %} / {{ item.expected }} expected{% endif %}

{% if item.expected %}{{ item.available }}/{{ item.expected }}{% endif %}

{{ item.external_id }}{% if item.checked %} ยท Checked {{ item.checked|timestamp }}{% endif %}

{% if item.last_error %}

{{ item.last_error }}

{% endif %} {% if can('content.write') %}
Edit item
{% for action, label in [('refresh','Refresh'),('thumbnail','Thumbnail'),('handoff','Hand off'),('delete','Remove')] %}
{% endfor %}
{% endif %} {% endcall %}{% else %}

No watchlist items yet.

{% endfor %}
{% endblock %}