Private GIT

Skip to content
Snippets Groups Projects
Commit 69a0e859 authored by JackDandy's avatar JackDandy
Browse files

Fix missing header and text in poster layout when network is none on coming episodes page.

Fix missing header and "on <missing text>" when network is none and Layout "Poster" with Sort By "Network" on coming episodes page.
parent 4d6543b7
No related branches found
No related tags found
No related merge requests found
### 0.x.x (2014-11-10 xx:xx:xx UTC) ### 0.x.x (2014-11-11 xx:xx:xx UTC)
* Add Bootstrap for UI features * Add Bootstrap for UI features
* Change UI to resize fluidly on different display sizes, fixes the issue where top menu items would disappear on smaller screens * Change UI to resize fluidly on different display sizes, fixes the issue where top menu items would disappear on smaller screens
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
* Fix missing url for kickasstorrents in config_providers * Fix missing url for kickasstorrents in config_providers
* Fix post processing when using tvrage indexer and mediabrowser metadata generation * Fix post processing when using tvrage indexer and mediabrowser metadata generation
* Change reporting failed network_timezones.txt updates from an error to a warning * Change reporting failed network_timezones.txt updates from an error to a warning
* Fix missing header and "on <missing text>" when network is none and Layout "Poster" with Sort By "Network" on coming episodes page.
[develop changelog] [develop changelog]
* Change improve display of progress bars in the Downloads columns of the show list page * Change improve display of progress bars in the Downloads columns of the show list page
......
...@@ -322,9 +322,10 @@ ...@@ -322,9 +322,10 @@
#set $runtime = $cur_result['runtime'] #set $runtime = $cur_result['runtime']
#if 'network' == $sort: #if 'network' == $sort:
#if $cur_result['network'] and $cur_segment != $cur_result['network']: #set $show_network = $cur_result['network'] if $cur_result['network'] else 'no network'
#if $cur_segment != $show_network:
<div class="comingepheader"> <div class="comingepheader">
<br><h2 class="network">$cur_result['network']</h2> <br><h2 class="network">$show_network</h2>
#set $cur_segment = $cur_result['network'] #set $cur_segment = $cur_result['network']
#end if #end if
#set $cur_ep_airdate = $cur_result['localtime'].date() #set $cur_ep_airdate = $cur_result['localtime'].date()
...@@ -440,7 +441,7 @@ ...@@ -440,7 +441,7 @@
<div class="clearfix"> <div class="clearfix">
<span class="title">Airs: </span><span class="${fuzzydate}">$sbdatetime.sbdatetime.sbfdatetime($cur_result['localtime']).decode($sickbeard.SYS_ENCODING)</span><span> on $cur_result['network']</span> <span class="title">Airs: </span><span class="${fuzzydate}">$sbdatetime.sbdatetime.sbfdatetime($cur_result['localtime']).decode($sickbeard.SYS_ENCODING)</span><%= ('', '<span> on %s</span>' % str(cur_result['network']))[None is not cur_result['network']] %>
</div> </div>
<div class="clearfix"> <div class="clearfix">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment