{% extends "layout.html" %} {% block title %}{{ torrent.display_name }} :: {{ config.SITE_NAME }}{% endblock %} {% block body %} {% from "_formhelpers.html" import render_field %}

{% if can_edit %} {% endif %} {{ torrent.display_name }}

Category:
Date:
{{ torrent.created_time.strftime('%Y-%m-%d %H:%M UTC') }}
Submitter:
{% set user_url = torrent.user and url_for('view_user', user_name=torrent.user.username) %} {%- if not torrent.anonymous and torrent.user -%} {{ torrent.user.username }} {%- else -%} Anonymous {% if torrent.user and (viewer == torrent.user or viewer.is_moderator) %}({{ torrent.user.username }}){% endif %} {%- endif -%} {%- if viewer and viewer.is_superadmin and torrent.uploader_ip -%} ({{ torrent.uploader_ip_string }}) {%- endif -%}
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) }}
Completed:
{% if config.ENABLE_SHOW_STATS %}{{ torrent.stats.download_count }}{% else %}Coming soon{% endif %}
{% 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 %}

{%- for key, value in files.items() recursive %} {%- if value is iterable %} {{ loop(value.items()) }} {%- else %}  {{ key }} {%- endif %} {%- endfor %}
Path Size
  {{ key }}{{ value | filesizeformat(True) }}
{% elif files %}

Too many files to display.

{% else %}

File list is not available for this torrent.

{% endif %}

Comments - {{ comment_count }}

{% if g.user.is_admin %} {% endif %} {% for comment in comments %} {% if g.user.is_admin %} {% endif %} {% endfor %}
DeleteDate User Comment
{% if comment.user %} {{ comment.user.username }} {% else %} Anonymous {% endif %} {{ torrent.created_time.strftime('%Y-%m-%d %H:%M UTC') }} {{ comment.text }}
{{ form.csrf_token }} {{ render_field(form.comment, class_='form-control') }} {{ render_field(form.is_anonymous) }}
{% endblock %}