bouquins/views/author.jade

42 lines
1.0 KiB
Plaintext
Raw Normal View History

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="/#authors")= t('bouquins.nav.authors')
2014-06-21 22:35:59 +00:00
li.active= title
div.container
div.page-header
h1
span.glyphicon.glyphicon-user
= ' '+name
h2
span.glyphicon.glyphicon-book
2014-06-28 23:21:17 +00:00
= ' '+t('bouquins.author.books')
2014-06-21 22:35:59 +00:00
ul
each book in books
li
a(href='/book/'+book.id)
= book.title+' '
2014-06-22 07:42:10 +00:00
if book.serie
2014-06-21 22:35:59 +00:00
span.glyphicon.glyphicon-list
2014-06-22 07:42:10 +00:00
a(href='/serie/'+book.serie.id)
= ' '+book.serie.name+' ('+book.series_index+')'
if series
h2
span.glyphicon.glyphicon-list
2014-06-28 23:21:17 +00:00
= ' '+t('bouquins.author.series')
2014-06-22 07:42:10 +00:00
ul
each serie in series
li: a(href='/serie/'+serie.id)= ' '+serie.name
if coauthors
2014-06-21 22:35:59 +00:00
h2
span.glyphicon.glyphicon-user
2014-06-28 23:21:17 +00:00
= ' '+t('bouquins.author.coauthors')
2014-06-21 22:35:59 +00:00
ul
each author in coauthors
li: a(href='/author/'+author.id)= author.name
2014-06-29 17:55:58 +00:00
include footer.jade