diff --git a/CHANGES.md b/CHANGES.md index c9455fa7..402de4d3 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -18,6 +18,8 @@ * Fix Events shutdown (a manual start-up is required after updating to this fix) * Add 'PB', 'EB', 'ZB', 'YB' to output size formats * Fix save option display freespace +* Fix load web dl types from db if url fetching fails +* Change ManageSearches layout between collapsed Provider Failures tables from single to multi line ### 0.13.15 (2018-01-26 10:30:00 UTC) diff --git a/gui/slick/interfaces/default/manage_manageSearches.tmpl b/gui/slick/interfaces/default/manage_manageSearches.tmpl index 91809e52..636467c9 100644 --- a/gui/slick/interfaces/default/manage_manageSearches.tmpl +++ b/gui/slick/interfaces/default/manage_manageSearches.tmpl @@ -69,18 +69,21 @@

No current failures. Failure stats display here when appropriate.

#else

Some providers can be often down over periods, SickGear will back off then retry connecting at a later time

- #for $prov in $provider_fail_stats #if $len($prov['fails']) - $prov['name'] + + +
+ $prov['name'] #if $prov['active'] #if $prov['next_try'] #set nt = $str($prov['next_try']).split('.', 2) - ... is blocked until $sbdatetime.sbdatetime.sbftime($sbdatetime.sbdatetime.now() + $prov['next_try'], markup=True) (in $nt[0]) + ... is blocked until $sbdatetime.sbdatetime.sbftime($sbdatetime.sbdatetime.now() + $prov['next_try'], markup=True) (in $nt[0]) #end if #else - ... is not enabled + ... is not enabled #end if +
@@ -129,6 +132,7 @@ #end for
+ #end if #end for #end if diff --git a/gui/slick/js/manageSearches.js b/gui/slick/js/manageSearches.js index 266dc041..e0ae9f71 100644 --- a/gui/slick/js/manageSearches.js +++ b/gui/slick/js/manageSearches.js @@ -21,12 +21,16 @@ $(function(){ }); $('.shows-less').click(function(){ - $(this).nextAll('table:first').hide(); + var table$ = $(this).nextAll('table:first'); + table$ = table$.length ? table$ : $(this).parent().nextAll('table:first'); + table$.hide(); $(this).hide(); $(this).prevAll('input:first').show(); }); $('.shows-more').click(function(){ - $(this).nextAll('table:first').show(); + var table$ = $(this).nextAll('table:first'); + table$ = table$.length ? table$ : $(this).parent().nextAll('table:first'); + table$.show(); $(this).hide(); $(this).nextAll('input:first').show(); });