From 651b9b381333330de332621c34c4046d2fb56521 Mon Sep 17 00:00:00 2001 From: Antoine WEBER Date: Tue, 22 Sep 2015 15:05:49 +0200 Subject: [PATCH] lister les saisons et episodes --- views/channel.jade | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/views/channel.jade b/views/channel.jade index c14d960..8ecdab0 100644 --- a/views/channel.jade +++ b/views/channel.jade @@ -9,6 +9,8 @@ block content th Nom if(channel.type == 2) th Série + th Saison + th Episode th Durée th Année tbody @@ -20,6 +22,12 @@ block content td if(typeof video.info_meta !== 'undefined' && typeof video.info_meta.show !== 'undefined') #{video.info_meta.show} + td + if(typeof video.info_meta !== 'undefined' && typeof video.info_meta.season !== 'undefined') + #{video.info_meta.season} + td + if(typeof video.info_meta !== 'undefined' && typeof video.info_meta.episode !== 'undefined') + #{video.info_meta.episode} td= video.second td= video.year script.