add wanted raw file with download feature

This commit is contained in:
ghost 2023-10-23 07:31:07 +03:00
parent 2d2c6be016
commit a128cb7cb3
2 changed files with 124 additions and 3 deletions

View file

@ -33,10 +33,11 @@
</a>
</h2>
{% if torrent.scrape.leechers > 0 and torrent.scrape.seeders == 0 %}
<span class="label label-green margin-l-4-px font-size-10-px position-relative top--2 cursor-default"
title="{{ 'Active leechers waiting for seeders' | trans }}">
<a href="{{ path('torrent_file_wanted', { torrentId : torrent.id }) }}"
class="label label-green margin-l-4-px font-size-10-px position-relative top--2"
title="{{ 'Active leechers waiting for seeders' | trans }}">
{{ 'wanted' | trans }}
</span>
</a>
{% endif %}
{% if torrent.approved == false %}
<sub class="margin-l-8-px float-right opacity-06 hover-opacity-1" title="{{ 'Waiting for approve' | trans }}">