{% extends 'default/layout.html.twig' %} {% block title %}{{ 'Torrent'|trans }} #{{ torrent.id }} - {{ name }}{% endblock %} {% block main_content %}

{{ 'Torrent'|trans }} #{{ torrent.id }}

{# #}
{% if file.info.name is defined %} {% endif %} {% if file['creation date'] is defined %} {% endif %} {% if file['created by'] is defined %} {% endif %} {% if file.encoding is defined %} {% endif %} {% if file.comment is defined %} {% endif %} {% for info in file.info.files %} {% endfor %} {% for tracker in trackers %} {% endfor %} {% for announces in file['announce-list'] %} {% for announce in announces %} {% endfor %} {% endfor %} {% if torrent.locales %} {% else %} {% endif %} {% if torrent.pages %} {% else %} {% endif %}
{{ 'Name'|trans }}
{{ file.info.name }}
{{ 'Created'|trans }}
{{ file['creation date'] | format_date }}
{{ 'Generated'|trans }}
{{ file['created by'] }}
{{ 'Encoding'|trans }}
{{ file.encoding }}
{{ 'Comment'|trans }}
{{ file.comment }}
{{ 'Files'|trans }}
 
/..
{% for path in info.path %}
../{{ path }}
{% endfor %}
{{  info.length | format_bytes }}
 
{{ 'Trackers'|trans }}
 
{{ tracker }}
{{ file.announce }} {% if file.announce not in trackers %} {% endif %}
{{ announce }} {% if announce not in trackers %} {% endif %}
 
{{ 'Locales'|trans }}
 
{{'Edit'|trans }}
{{'Add'|trans }}
 
{{ 'Pages'|trans }}
 
{{'Edit'|trans }}
{{'Add'|trans }}
{% endblock %}