bouquins/views/serie.jade
2014-06-29 19:55:58 +02:00

32 lines
728 B
Plaintext

extends layout
block content
ol.breadcrumb
li
a(href="/")= t('bouquins.nav.home')
li
a(href="/#series")= t('bouquins.nav.series')
li.active= title
div.container
div.page-header
h1
span.glyphicon.glyphicon-list
= ' '+name
h2
span.glyphicon.glyphicon-book
= ' '+t('bouquins.serie.books')
ul
each book in books
li
= book.series_index+'. '
a(href='/book/'+book.id)
= book.title
if authors.length > 0
h2
span.glyphicon.glyphicon-user
= ' '+t('bouquins.serie.authors')
ul
each author in authors
li: a(href='/author/'+author.id)= author.name
include footer.jade