Browse Source

Fix for Error cannot find 'cur_ep_enddate'

tags/release_0.1.0
echel0n 11 years ago
parent
commit
a3449db3d3
  1. 2
      gui/slick/interfaces/default/comingEpisodes.tmpl

2
gui/slick/interfaces/default/comingEpisodes.tmpl

@ -286,6 +286,7 @@
<br /><h1 class="day">$datetime.date.fromordinal($cur_ep_airdate.toordinal).strftime("%A").decode($sickbeard.SYS_ENCODING).capitalize() <span style="font-size: 12px;">[today]</span></h1> <br /><h1 class="day">$datetime.date.fromordinal($cur_ep_airdate.toordinal).strftime("%A").decode($sickbeard.SYS_ENCODING).capitalize() <span style="font-size: 12px;">[today]</span></h1>
#set $today_header = True #set $today_header = True
#end if #end if
#if $runtime:
#if $cur_ep_enddate < $today: #if $cur_ep_enddate < $today:
#set $show_div = "ep_listing listing_overdue" #set $show_div = "ep_listing listing_overdue"
#elif $cur_ep_airdate >= $next_week.date(): #elif $cur_ep_airdate >= $next_week.date():
@ -297,6 +298,7 @@
#set $show_div = "ep_listing listing_default" #set $show_div = "ep_listing listing_default"
#end if #end if
#end if #end if
#end if
#elif $sort == "show": #elif $sort == "show":
#set $cur_ep_airdate = $cur_result["localtime"].date() #set $cur_ep_airdate = $cur_result["localtime"].date()

Loading…
Cancel
Save