bouquins/views/serie.jade

31 lines
706 B
Plaintext
Raw Normal View History

2014-06-21 22:35:59 +00:00
extends layout
block content
2014-06-21 22:35:59 +00:00
ol.breadcrumb
li
2014-06-28 23:21:17 +00:00
a(href="/")= t('bouquins.nav.home')
2014-06-21 22:35:59 +00:00
li
2014-06-28 23:21:17 +00:00
a(href="/#series")= t('bouquins.nav.series')
2014-06-21 22:35:59 +00:00
li.active= title
div.container
div.page-header
h1
span.glyphicon.glyphicon-list
= ' '+name
h2
span.glyphicon.glyphicon-book
2014-06-28 23:21:17 +00:00
= ' '+t('bouquins.serie.books')
2014-06-21 22:35:59 +00:00
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
2014-06-28 23:21:17 +00:00
= ' '+t('bouquins.serie.authors')
2014-06-21 22:35:59 +00:00
ul
each author in authors
li: a(href='/author/'+author.id)= author.name