Browse Source

fix scrape wanted condition

main
ghost 1 year ago
parent
commit
60e8a57dce
  1. 2
      templates/default/torrent/list.html.twig

2
templates/default/torrent/list.html.twig

@ -21,7 +21,7 @@
{{ torrent.file.name }} {{ torrent.file.name }}
</a> </a>
</h2> </h2>
{% if torrent.scrape.leechers == 0 and torrent.scrape.leechers == 0 %} {% 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" <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 }}"> title="{{ 'Active leechers waiting for seeders' | trans }}">
{{ 'wanted' | trans }} {{ 'wanted' | trans }}

Loading…
Cancel
Save