#import sickbeard
##
#set global $title = 'Media Search'
#set global $header = 'Media Search'
#set global $sbPath = '..'
#set global $topmenu = 'manage'
##
#import os.path
#include $os.path.join($sickbeard.PROG_DIR, 'gui/slick/interfaces/default/inc_top.tmpl')
#if $varExists('header')
$header
#else
$title
#end if
Backlog Search:
Force #if $backlog_paused then "Unpause" else "Pause"#
#if $backlog_paused then 'Paused: ' else ''#
#if not $backlog_running and not $backlog_is_active:
Not in progress
#else
Currently running#if $backlog_running_type != "None"# ($backlog_running_type)#end if#
#end if
Recent Search:
Force
#if not $recent_search_status
Not in progress
#else
In Progress
#end if
Find Propers Search:
Force
#if not $find_propers_status
Not in progress
#else
In Progress
#end if
Search Queue:
#if $queue_length['backlog'] or $queue_length['manual'] or $queue_length['failed']
#end if
Recent: $queue_length['recent'] item$sickbeard.helpers.maybe_plural($queue_length['recent'])