ajout de la page de presentation

This commit is contained in:
Antoine WEBER
2015-09-15 18:34:50 +02:00
parent 04ae473f75
commit 9e9737902f
5 changed files with 66 additions and 17 deletions

View File

@@ -15,7 +15,7 @@ block content
each video, i in videos
tr
td
a(href="/file/#{video.id}/#{video.filename}")= video.title
a(href="/movie/#{video.id}")= video.title
if(channel.type == 2)
td
if(typeof video.info_meta !== 'undefined' && typeof video.info_meta.show !== 'undefined')

29
views/movie.jade Normal file
View File

@@ -0,0 +1,29 @@
extends layout
block content
h1= movie.title
label Note
p= movie.rating
label Télécharger
a(href="/file/#{movie.id}/#{movie.title}")= movie.title
br
label Résumé
p= movie.summary
br
label Genre
each tag, i in movie.tags_genre
if(tag!='')
span= tag
|  
br
label Acteurs
each tag, i in movie.tags_star
if(tag!='')
span= tag
|  
br