{% extends 'default/layout.html.twig' %} {% block title %}{% if query %}{{ query }}{% else %}{{ 'Recent' | trans }}{% endif %} - {{ 'Torrents' | trans }} - {{ name }}{% endblock %} {% block main_content %} {% if torrents %} {% for torrent in torrents %}

{{ torrent.file.name }}

{% if torrent.scrape.leechers == 0 and torrent.scrape.leechers == 0 %} {{ 'wanted' | trans }} {% endif %} {% if torrent.approved == false %} {% endif %} {% if torrent.sensitive == true %} {% endif %}
{% if torrent.keywords %}
{% for keyword in torrent.keywords %} #{{ keyword }} {% endfor %}
{% endif %}
{# {{ torrent.added | format_ago }} {{ 'by' | trans }} {{ 'identicon' | trans }} #} {{ torrent.file.size | format_bytes }} {{ torrent.scrape.seeders }} {{ torrent.scrape.peers }} {{ torrent.scrape.leechers }}
{% if torrent.download.magnet.exist %} {% else %} {% endif %} {{ torrent.download.magnet.total }} {% if torrent.download.file.exist %} {% else %} {% endif %} {{ torrent.download.file.total }} {% if torrent.star.exist %} {% else %} {% endif %} {{ torrent.star.total }}
{% endfor %} {% else %}

{{ 'Nothing found' | trans }}

{{ '* share new torrent file to change it' | trans }}
{% endif %} {% endblock %}