1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Merge pull request #148 from JackDandy/feature/FixMissingNetworkHeader

Fix missing header and text in poster layout when network is none on com...
This commit is contained in:
JackDandy 2014-11-11 15:51:09 +00:00
commit 6fb020372d
2 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,4 @@
### 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
* 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 @@
* Fix missing url for kickasstorrents in config_providers
* Fix post processing when using tvrage indexer and mediabrowser metadata generation
* 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]
* Change improve display of progress bars in the Downloads columns of the show list page

View File

@ -322,9 +322,10 @@
#set $runtime = $cur_result['runtime']
#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">
<br><h2 class="network">$cur_result['network']</h2>
<br><h2 class="network">$show_network</h2>
#set $cur_segment = $cur_result['network']
#end if
#set $cur_ep_airdate = $cur_result['localtime'].date()
@ -440,7 +441,7 @@
<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 class="clearfix">