#import sickgear #import datetime #import re #from sickgear import providers #from sickgear.providers import generic #from sickgear.common import * ## #set global $header = 'Failed Downloads' #set global $title = 'Failed Downloads' #set global $sbPath = '..' #set global $topmenu = 'manage' #set global $page_body_attr = 'failed' ## #import os.path #include $os.path.join($sickgear.PROG_DIR, 'gui/slick/interfaces/default/inc_top.tmpl') #if $varExists('header')

$header

#else

$title

#end if #set selected = ' selected="selected"'
Limit:
#set $oldest = $len($failed_results) #set $order = $oldest #for $hItem in $failed_results[::-1] #set $provider = $providers.get_by_id($generic.GenericProvider.make_id($hItem['provider'])) #set $provider_name = None is not $provider and $provider.name or 'missing provider' #set $provider_image = None is not $provider and $provider.image_name() or 'missing.png' #end for
Order Release Size Provider Remove
$oldest items shown#if $getVar('over_limit', False)#, more are available by changing the limit#end if#
#echo 1 == $order and 'Newest' or $oldest == $order and 'Oldest' or '-'##set $order -= 1# #echo re.sub('"', '', $hItem['release'])# #echo ($hItem['size'], '?')[-1 == $hItem['size']]# $provider_name
#include $os.path.join($sickgear.PROG_DIR, 'gui/slick/interfaces/default/inc_bottom.tmpl')