From 1e7c8e55764d9cf397a8ed5db06d346be9c640df Mon Sep 17 00:00:00 2001 From: JackDandy Date: Sun, 20 Nov 2016 02:23:37 +0000 Subject: [PATCH] Change refresh page when torrent providers are enabled/disabled. Change only display Search Settings/"Usenet retention" if Search NZBs is enabled. Change update IMDb show parser. --- CHANGES.md | 3 + .../interfaces/default/config_providers.tmpl | 8 +- .../interfaces/default/config_search.tmpl | 6 +- sickbeard/webserve.py | 99 +++++++++++++++++-- 4 files changed, 104 insertions(+), 12 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index cb27fc8f..5e13379c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -196,6 +196,8 @@ * Change speed improvement in finding needed categories/qualities (sd, hd, uhd) * Change add guidance when using the "unknown" quality selection * Change prevent browser auto completing password fields on config pages +* Change refresh page when torrent providers are enabled/disabled +* Change only display Search Settings/"Usenet retention" if Search NZBs is enabled [develop changelog] * Change send nzb data to NZBGet for Anizb instead of url @@ -237,6 +239,7 @@ * Fix UHD category select in Recent Search * Change only update enabled torrent providers * Fix restart when switching from master to develop +* Change update IMDb show parser ### 0.11.16 (2016-10-16 17:30:00 UTC) diff --git a/gui/slick/interfaces/default/config_providers.tmpl b/gui/slick/interfaces/default/config_providers.tmpl index b4459c10..89cacd2e 100644 --- a/gui/slick/interfaces/default/config_providers.tmpl +++ b/gui/slick/interfaces/default/config_providers.tmpl @@ -104,11 +104,13 @@ $x.providerType == $GenericProvider.TORRENT and $sickbeard.USE_TORRENTS] #set $cur_name = $cur_provider.get_id() #set $cur_url = $cur_provider.url - #set $tip = ($cur_provider.name, 'Site Down')[not $cur_url] - #set $state = ('', ' (Site Down?)')[not $cur_url] + #set $bad_url = not $cur_url and cur_provider.is_enabled() + #set $tip = ($cur_provider.name + ('', ' (enable for link)')[not $cur_url and not cur_provider.is_enabled()], + 'Site Down')[$bad_url] + #set $state = ('', ' (Site Down?)')[$bad_url]
  • /> - $tip + $tip $cur_provider.name$state #if $cur_provider.is_public_access() and type($cur_provider).__name__ not in ['TorrentRssProvider'] (PA) diff --git a/gui/slick/interfaces/default/config_search.tmpl b/gui/slick/interfaces/default/config_search.tmpl index 61cb06c3..02520f4a 100755 --- a/gui/slick/interfaces/default/config_search.tmpl +++ b/gui/slick/interfaces/default/config_search.tmpl @@ -119,7 +119,7 @@ - +#if $sickbeard.USE_NZBS
    - +#else + +#end if