From 1ed72a914ab26205aa46dd7c5bf0ae48633f6f2e Mon Sep 17 00:00:00 2001 From: lucas_nz Date: Sat, 22 Jun 2013 19:16:54 +1200 Subject: [PATCH] Navigation links for Push screens. Conflicts: plugins/video/templates/container_html.tmpl --- plugins/video/templates/container_html.tmpl | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/plugins/video/templates/container_html.tmpl b/plugins/video/templates/container_html.tmpl index dbb8a41..0c65261 100644 --- a/plugins/video/templates/container_html.tmpl +++ b/plugins/video/templates/container_html.tmpl @@ -6,9 +6,8 @@ +#set $folders = $name.split('/')
-

pyTivo - Push - $escape($name)

-

Home

+

+pyTivo / +#if len($folders) > 1 + +#end if +Push from $escape($folders[0]) +#if len($folders) > 1 + + #if len($folders) > 2 + #for $pos, $n in enumerate($folders[1:-1]) + #set $ppath = '/'.join($folders[:$pos + 2]) +/ $n + #end for + #end if +/ $escape($folders[-1]) +#end if +

## Header Row @@ -52,8 +68,8 @@ function toggle(source) { #if $video.is_dir ## This is a folder - - + + #else -- 2.11.4.GIT
$video.title $video.title $video.total_items Items $video.textDate