From 25a1b185a90bce6900d53f2bfd476effc6e96a63 Mon Sep 17 00:00:00 2001 From: Antoine WEBER Date: Tue, 22 Sep 2015 15:07:30 +0200 Subject: [PATCH] lister les saisons et episodes --- views/channel.jade | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/views/channel.jade b/views/channel.jade index 8ecdab0..ae2d851 100644 --- a/views/channel.jade +++ b/views/channel.jade @@ -9,8 +9,7 @@ block content th Nom if(channel.type == 2) th Série - th Saison - th Episode + th Saison & Episode th Durée th Année tbody @@ -23,11 +22,8 @@ block content 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} + if(typeof video.info_meta !== 'undefined' && typeof video.info_meta.season !== 'undefined' && typeof video.info_meta.episode !== 'undefined') + S #{video.info_meta.season} E #{video.info_meta.episode} td= video.second td= video.year script.