{% extends "base.html" %} {% import "macros.html" as macros %} {% block content %}

Downloads

{% if torrent_running %} {% if torrents %}
{% for t in torrents %}
{% set series = t.release.episode.series %} {% set episode = t.release.episode %} {% set episode_hash = 'e' ~ t.release.episode.id %} {% set release_hash = 'r' ~ t.release.info_hash %}
{% if t.status == 'D' %}

{{macros.icon("#icon-check-bold", width=16, height=16, class="text-success mr-1")}}Downloaded {% if t.downloaded_on %}{{t.downloaded_on | datetime_since(utc_now)}}{% endif %}
{% else %} {# Download still in progress #}

Checking download status…
{% endif %}
{% set request_url = url_for('main.remove_torrent', info_hash=t.release.info_hash) %}
{% endfor %}
{% else %}

No downloads yet. Start a torrent download in any series page by clicking the{{macros.icon("#icon-download", width=20, height=20, class="mx-1")}}icon

{% endif %} {% else %}
{{macros.icon("#icon-warning-bold", width=16, height=16, class="mr-2 text-warning")}} Built-in BitTorrent client is not running. Please review
{% endif %}
{% endblock %}