From e75ca4445323eb0937907fc808bad60f1d1aae18 Mon Sep 17 00:00:00 2001 From: evilhero Date: Fri, 2 Mar 2018 03:14:02 -0500 Subject: [PATCH] FIX: Removed Choose Download option from Upcoming, Weekly and Manage Issues tabs due to massive slowdown of resources, FIX: Corrected One-Off option not appearing on Weekly Pull, FIX: Retry option available on Weekly Pull again for Snatched watchlisted issues, FIX: Auto-Snatch option will only show on Weekly Pull if auto-snatch is enabled and item snatched was via torrent --- data/interfaces/default/comicdetails.html | 4 ++++ data/interfaces/default/manageissues.html | 2 +- data/interfaces/default/upcoming.html | 2 ++ data/interfaces/default/weeklypull.html | 16 +++++++++++++--- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/data/interfaces/default/comicdetails.html b/data/interfaces/default/comicdetails.html index 0d38aafa..017af395 100755 --- a/data/interfaces/default/comicdetails.html +++ b/data/interfaces/default/comicdetails.html @@ -328,6 +328,7 @@ + %if issue['Status'] == 'Skipped' or issue['Status'] == 'Ignored': %elif (issue['Status'] == 'Wanted'): @@ -480,6 +482,7 @@ <% amode = 'want_ann' %> + %if annual['Status'] == 'Skipped' or annual['Status'] == 'Ignored': %elif (annual['Status'] == 'Wanted'): diff --git a/data/interfaces/default/manageissues.html b/data/interfaces/default/manageissues.html index dc933601..4de10870 100755 --- a/data/interfaces/default/manageissues.html +++ b/data/interfaces/default/manageissues.html @@ -92,7 +92,7 @@ except: ahash = None %> - %if ahash is not None: + %if ahash is not None and mylar.CONFIG.AUTO_SNATCH is True: auto-snatch %endif diff --git a/data/interfaces/default/upcoming.html b/data/interfaces/default/upcoming.html index efbe10da..31740037 100755 --- a/data/interfaces/default/upcoming.html +++ b/data/interfaces/default/upcoming.html @@ -105,6 +105,7 @@ ${issuenumber} ${issue['IssueDate']} + diff --git a/data/interfaces/default/weeklypull.html b/data/interfaces/default/weeklypull.html index b6264de6..480d3cfb 100755 --- a/data/interfaces/default/weeklypull.html +++ b/data/interfaces/default/weeklypull.html @@ -128,7 +128,7 @@ %endif %endif - %if weekly['HASH'] is not None: + %if weekly['HASH'] is not None and mylar.CONFIG.AUTO_SNATCH is True: %if mylar.CONFIG.SHOW_ICONS: @@ -169,7 +169,7 @@ %else: <% dl = False %> %endif - %if weekly['ISSUEID'] is None and weekly['STATUS'] == 'Skipped': + %if weekly['HAVEIT'] == 'No' and weekly['STATUS'] == 'Skipped': %if mylar.CONFIG.SHOW_ICONS: @@ -178,6 +178,7 @@ %endif %endif + + %elif weekly['HASH'] is not None and mylar.CONFIG.AUTO_SNATCH is True: %if mylar.CONFIG.SHOW_ICONS: @@ -207,6 +209,14 @@ Auto-Snatch %endif + %elif weekly['STATUS'] == 'Snatched': + + %if mylar.CONFIG.SHOW_ICONS: + + %else: + Retry + %endif + %endif %endif