- {% if torrent.description %}
- {# Escape newlines into html entities because CF strips blank newlines #}
- {{ torrent.description | escape | replace('\r\n', '\n') | replace('\n', '
'|safe) }}
- {% else %}
- #### No description.
+
+
+
+ {% if can_edit %}
+
{% endif %}
+ {{ torrent.display_name }}
+
+
+
+
+
Category:
+
+
+
Date:
+
{{ torrent.created_time.strftime('%Y-%m-%d %H:%M UTC') }}
+
+
+
+
Submitter:
+
+
+
Seeders:
+
{% if config.ENABLE_SHOW_STATS %}{{ torrent.stats.seed_count }}{% else %}Coming soon{% endif %}
+
+
+
+
+
Information:
+
+ {% if torrent.information %}
+ {{ torrent.information_as_link | safe }}
+ {% else %}
+ No information.
+ {% endif%}
+
+
+
Leechers:
+
{% if config.ENABLE_SHOW_STATS %}{{ torrent.stats.leech_count }}{% else %}Coming soon{% endif %}
+
+
+
+
File size:
+
{{ torrent.filesize | filesizeformat(True) }}
+
+
Downloads:
+
{% if config.ENABLE_SHOW_STATS %}{{ torrent.stats.download_count }}{% else %}Coming soon{% endif %}
+
+
- {% if files and files.__len__() <= config.MAX_FILES_VIEW %}
-
-
-
-
-
File list
+
+
+ {% if torrent.description %}
+ {# Escape newlines into html entities because CF strips blank newlines #}
+ {{ torrent.description | escape | replace('\r\n', '\n') | replace('\n', '
'|safe) }}
+ {% else %}
+ #### No description.
+ {% endif%}
+
+
+
+{% if files and files.__len__() <= config.MAX_FILES_VIEW %}
+
+
+
+
+
+
+ Path |
+ Size |
+
+
+ {%- for key, value in files.items() recursive %}
+
+ {%- if value is iterable %}
+
+ {{ key }} |
+ {{ loop(value.items()) }}
+ {%- else %}
+
+ {{ key }} |
+ {{ value | filesizeformat(True) }} |
+ {%- endif %}
+
+ {%- endfor %}
+
+
+
+{% elif files %}
+
+
+
+ Too many files to display.
+
+
+
+{% else %}
+
+
+
+ File list is not available for this torrent.
+
+
+
+{% endif %}
+
+
+
+
+
+
-
-
-
-
- Path |
- Size |
-
-
- {%- for key, value in files.items() recursive %}
-
- {%- if value is iterable %}
-
- {{ key }} |
- {{ loop(value.items()) }}
- {%- else %}
-
- {{ key }} |
- {{ value | filesizeformat(True) }} |
- {%- endif %}
-
- {%- endfor %}
-
-
-
- {% elif files %}
-
-
-
-
-
Too many files to display.
-
-
-
-
- {% else %}
-
-
-
-
-
File list is not available for this torrent.
-
-
-
-
- {% endif %}
-
-
-
+
-{% endblock %}
+{% endblock %}
\ No newline at end of file