Merge tag 'release_0.7.1' into develop

This commit is contained in:
JackDandy 2015-03-10 22:20:02 +00:00
commit 7e5aedff8f
3 changed files with 16 additions and 4 deletions

View file

@ -33,6 +33,12 @@
* Fix the return flow from calls to the redirect function from executing incorrect code
### 0.7.1 (2015-03-10 17:00:00 UTC)
* Fix error page when clicking "Add Recommended"
* Remove failed Anime options from "Add Existing Show"
### 0.7.0 (2015-03-04 06:00:00 UTC)
* Fix slow database operations (port from midgetspy/sickbeard)

View file

@ -59,6 +59,7 @@
</div>
#end if
#if $enable_anime_options
<div class="field-pair alt">
<label for="anime">
<span class="component-title">Show is anime</span>
@ -69,6 +70,7 @@
</label>
</div>
#end if
<div class="field-pair alt" style="margin-top:20px">
<label for="saveDefaultsButton">
<span class="component-title">Save options as defaults</span>
@ -79,5 +81,9 @@
</label>
</div>
#if $enable_anime_options
#import sickbeard.blackandwhitelist
#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_blackwhitelist.tmpl')
#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_blackwhitelist.tmpl')
#else
<input type="hidden" name="anime" id="anime" value="0" />
#end if

View file

@ -2095,6 +2095,7 @@ class NewHomeAddShows(Home):
t = PageTemplate(headers=self.request.headers, file='home_newShow.tmpl')
t.submenu = self.HomeMenu()
t.enable_anime_options = True
indexer, show_dir, indexer_id, show_name = self.split_extra_show(show_to_add)
@ -2147,6 +2148,7 @@ class NewHomeAddShows(Home):
t = PageTemplate(headers=self.request.headers, file='home_recommendedShows.tmpl')
t.submenu = self.HomeMenu()
t.enable_anime_options = False
return t.respond()
@ -2233,9 +2235,7 @@ class NewHomeAddShows(Home):
"""
t = PageTemplate(headers=self.request.headers, file='home_addExistingShow.tmpl')
t.submenu = self.HomeMenu()
t.whitelist = []
t.blacklist = []
t.groups = []
t.enable_anime_options = False
return t.respond()