bouquins/views/serie.jade
Meutel 0942319fa8 add footer to layout
add app name, version, url in footer
2014-07-10 10:51:05 +02:00

31 lines
706 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