| hide totally dead torrents - seedlinux - Torrent indexing tool opensource torre… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 17883aa7ec852387e78d5c0231d1bdd0ec9c6c5a | |
| parent 45738a3c475e07244b094851061bfc661ded16fa | |
| Author: Jay Scott <[email protected]> | |
| Date: Tue, 15 Aug 2017 15:10:58 +0100 | |
| hide totally dead torrents | |
| Diffstat: | |
| M views/torrent.pug | 7 ++----- | |
| 1 file changed, 2 insertions(+), 5 deletions(-) | |
| --- | |
| diff --git a/views/torrent.pug b/views/torrent.pug | |
| @@ -24,12 +24,9 @@ block content | |
| th.no-sort= 'Magnet' | |
| tbody | |
| each i in data.torrent_data | |
| - if i.seeders == 0 | |
| + if i.seeders < 10 && i.seeders != 0 | |
| tr.negative | |
| +status(i) | |
| - else if i.seeders < 10 | |
| - tr.warning | |
| - +status(i) | |
| - else | |
| + if i.seeders > 11 | |
| tr.positive | |
| +status(i) |