+
+ #if $ItemStart > 0
+
+ #set $Offset = -($ItemStart + 1)
+ #if $Offset < -($shows_per_page+1)
+ #set $Offset = -($shows_per_page+1)
+ #end if
+ Previous Page
+ |
+ #end if
+ #set $i = 0
+ ## i variable is used to alternate colors of row
+ ## loop through passed data printing row for each show or folder
+ #for $row in $data
+ #set $i += 1
+ #set $j = $i%2
+
+ #if $row['ContentType'] == 'x-tivo-container/folder'
+ ## This is a folder
+ $row['Title'] |
+ $(row["TotalItems"]) |
+ |
+ #else
+ ## This is a show
+
+
+ #if 'episodeTitle' in $row
+ $escape($row['title']): $escape($row['episodeTitle'])
+ #else
+ $escape($row['title'])
+ #end if
+ #if 'description' in $row
+ $escape($row['description'])
+ #end if
+ #if 'displayMajorNumber' in $row and 'callsign' in $row
+ $row['displayMajorNumber'] $row['callsign']
+ #end if
+
+ Recorded on
+ $row['CaptureDate']
+ #if 'Url' in $row and row['Url'] in $status
+ #set $this_status = $status[$row['Url']]
+ #if $this_status['running'] and $this_status['rate'] != ""
+
+ #set $gb = '%.3f GB' % (float($this_status['size']) / (1024 ** 3))
+ Transfering - $this_status['rate'] $gb
+ Stop Transfer
+
+ #elif $this_status['running'] and $this_status['rate'] == ""
+
+ Initiating Transfer
+ Please Wait
+
+ #elif $this_status['error']
+
+ Error - $this_status['error']
+
+ #elif $this_status['finished']
+
+ Transfer Complete
+
+ #elif $this_status['queued']
+
+ Queued: $queue.index($row['Url'])
+ Unqueue
+
+ #end if
+ #end if
+ |
+
+ #if 'CopyProtected' in $row and $row['CopyProtected'] == 'Yes'
+
+ #elif 'Icon' in $row
+
+ #if $row['Icon'] == 'urn:tivo:image:expires-soon-recording'
+
+ #else if $row['Icon'] == 'urn:tivo:image:expired-recording'
+
+ #else if $row['Icon'] == 'urn:tivo:image:save-until-i-delete-recording'
+
+ #else if $row['Icon'] == 'urn:tivo:image:in-progress-recording'
+
+ #end if
+ #end if
+ |
+
+ #if 'Url' in $row and not ($row['Url'] in $status and ($status[$row['Url']]['running'] or $status[$row['Url']]['queued'])) and not ('CopyProtected' in $row and $row['CopyProtected'] == 'Yes') and not ('Icon' in $row and $row['Icon'] == 'urn:tivo:image:in-progress-recording')
+
+ #end if
+ |
+ #end if
+
+ #end for
+ #if ($TotalItems - $ItemCount) > ($ItemStart + 1)
+
+ #set $Offset = $shows_per_page - 1
+ Next Page
+ |
+ #end if
+
+