hide totally dead torrents - seedlinux - Torrent indexing tool opensource torrents with share ratio's etc.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 17883aa7ec852387e78d5c0231d1bdd0ec9c6c5a
 (DIR) parent 45738a3c475e07244b094851061bfc661ded16fa
 (HTM) Author: Jay Scott <jay@jayscott.co.uk>
       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(-)
       ---
 (DIR) 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)