#import sickgear
#from sickgear.helpers import find_show_by_id, maybe_plural
#from sickgear.sgdatetime import SGDatetime
##
#set global $title = 'Show Tasks'
#set global $header = 'Show Tasks'
#set global $sbPath = '..'
#set global $topmenu = 'manage'
##
#import os.path
#include $os.path.join($sickgear.PROG_DIR, 'gui/slick/interfaces/default/inc_top.tmpl')
#if $varExists('header')
#else
$title
#end if
Daily show update:
Force
#if not $show_update_running#Not in progress (Next run: $SGDatetime.sbftime($next_run))#else#Currently running#end if#
#if $not_found_shows
#set $num_errors = $len($not_found_shows)
#set $err_class = ('', ' errors ' + ($num_errors * 'n')[0:4])[any([$num_errors])]
#end if
#if $defunct_indexer
#end if
#end if
Refresh: $len($queue_length['refresh']) show$sickgear.helpers.maybe_plural($len($queue_length['refresh']))
#if $queue_length['refresh']
#else
#end if