mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
Fix for Error cannot find 'cur_ep_enddate'
This commit is contained in:
parent
7cbe8fca44
commit
a3449db3d3
1 changed files with 11 additions and 9 deletions
|
@ -286,15 +286,17 @@
|
|||
<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
|
||||
#end if
|
||||
#if $cur_ep_enddate < $today:
|
||||
#set $show_div = "ep_listing listing_overdue"
|
||||
#elif $cur_ep_airdate >= $next_week.date():
|
||||
#set $show_div = "ep_listing listing_toofar"
|
||||
#elif $cur_ep_enddate >= $today and $cur_ep_airdate < $next_week.date():
|
||||
#if $cur_ep_airdate == $today.date():
|
||||
#set $show_div = "ep_listing listing_current"
|
||||
#else:
|
||||
#set $show_div = "ep_listing listing_default"
|
||||
#if $runtime:
|
||||
#if $cur_ep_enddate < $today:
|
||||
#set $show_div = "ep_listing listing_overdue"
|
||||
#elif $cur_ep_airdate >= $next_week.date():
|
||||
#set $show_div = "ep_listing listing_toofar"
|
||||
#elif $cur_ep_enddate >= $today and $cur_ep_airdate < $next_week.date():
|
||||
#if $cur_ep_airdate == $today.date():
|
||||
#set $show_div = "ep_listing listing_current"
|
||||
#else:
|
||||
#set $show_div = "ep_listing listing_default"
|
||||
#end if
|
||||
#end if
|
||||
#end if
|
||||
#elif $sort == "show":
|
||||
|
|
Loading…
Reference in a new issue