{% import "macros.html" as macros %} {# A release's download state in its dialog, see release_download_progress() #} {% if status == 'D' %} {% set file_count = torrent.file_storage|length if torrent else 0 %}