ajout de la page divers + lien de retour
This commit is contained in:
@@ -13,7 +13,7 @@ block content
|
||||
each video, i in videos
|
||||
tr
|
||||
td
|
||||
a(href="/movie/#{video.id}")= video.title
|
||||
a(href="/movie/#{video.id}/#{channel.id}")= video.title
|
||||
td= video.duree
|
||||
td= video.year
|
||||
script.
|
||||
|
||||
@@ -3,26 +3,30 @@ extends layout
|
||||
block content
|
||||
h1= movie.title
|
||||
|
||||
a(href="/channel/#{channel_id}") Retour à la liste
|
||||
br
|
||||
br
|
||||
|
||||
label Note
|
||||
p= movie.rating
|
||||
|
||||
label Télécharger
|
||||
br
|
||||
each file, i in movie.file
|
||||
a(href="/file/#{file.id}/#{file.filename}") #{file.size} #{file.filename}
|
||||
a(href="/file/#{file.id}/#{file.filename}") #{file.size} #{file.filename}
|
||||
br
|
||||
|
||||
br
|
||||
label Résumé
|
||||
p= movie.summary
|
||||
br
|
||||
|
||||
br
|
||||
label Genre
|
||||
each tag, i in movie.tags_genre
|
||||
if(tag!='')
|
||||
span= tag
|
||||
|
|
||||
br
|
||||
|
||||
br
|
||||
label Acteurs
|
||||
each tag, i in movie.tags_star
|
||||
if(tag!='')
|
||||
|
||||
@@ -3,6 +3,9 @@ extends layout
|
||||
block content
|
||||
h1= title
|
||||
|
||||
a(href="/channel/#{channel_id}") Retour à la liste des séries
|
||||
br
|
||||
|
||||
table(id="example", class="table table-striped table-bordered", cellspacing="0", width="100%")
|
||||
thead
|
||||
tr
|
||||
@@ -13,7 +16,7 @@ block content
|
||||
each video, i in videos
|
||||
tr
|
||||
td
|
||||
a(href="/movie/#{video.id}")= video.titre
|
||||
a(href="/movie/#{video.id}/#{channel_id}")= video.titre
|
||||
td= video.season_episode
|
||||
td= video.duree
|
||||
script.
|
||||
|
||||
@@ -12,7 +12,7 @@ block content
|
||||
each show, i in shows
|
||||
tr
|
||||
td
|
||||
a(href="/show/#{show.id}")= show.title
|
||||
a(href="/show/#{show.id}/#{channel}")= show.title
|
||||
td= show.year
|
||||
script.
|
||||
$(document).ready(function() {
|
||||
|
||||
Reference in New Issue
Block a user