{% macro recursive_file_tree(tree) %} {% import _self as self %} {% for key, value in tree %} {% if value is iterable %}
{{ 'Filename'|trans }} | {{ file.name }} |
{{ 'Created'|trans }} | {{ file.created | format_date }} |
{{ 'Size'|trans }} | {{ file.size | format_bytes }} |
{{ 'Pieces'|trans }} | {{ file.pieces | format_number }} |
{{ 'Info hash v1'|trans }} | {{ file.hash.v1 }} |
{{ 'Info hash v2'|trans }} | {{ file.hash.v2 }} |
{{ 'Source'|trans }} | {{ file.source }} |
{{ 'Software'|trans }} | {{ file.software }} |
{{ 'Comment'|trans }} | {{ file.comment }} |
{{ 'Scrape'|trans }}
|
|
{{ 'Seeders'|trans }} | {{ torrent.scrape.seeders }} |
{{ 'Peers'|trans }} | {{ torrent.scrape.peers }} |
{{ 'Leechers'|trans }} | {{ torrent.scrape.leechers }} |