{% macro torrent_listing_entry(torrent, class_name) %} {% set torrent_info = torrent.info %} {% set submitter_info = torrent.user|default(null) %}
{% if submitter_info is not null %} {% endif %}
{{ torrent.complete_peers|number_format }}
{{ torrent.incomplete_peers|number_format }}
{% if globals.auth_info.isLoggedIn %}
{% if not torrent_info.isApproved and globals.auth_info.userInfo.canApproveTorrents %} Approve Deny {% endif %} Download
{% endif %}
{% endmacro %}