2014-06-18 20:51:41 +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="/#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
|
2014-07-08 09:26:49 +00:00
|
|
|
| #{name}
|
2014-06-21 22:35:59 +00:00
|
|
|
h2
|
|
|
|
span.glyphicon.glyphicon-book
|
2014-07-08 09:26:49 +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)
|
2014-07-08 09:26:49 +00:00
|
|
|
| #{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)
|
2014-07-08 09:26:49 +00:00
|
|
|
| #{book.serie.name} (#{book.series_index})
|
2014-06-22 07:42:10 +00:00
|
|
|
if series
|
|
|
|
h2
|
|
|
|
span.glyphicon.glyphicon-list
|
2014-07-08 09:26:49 +00:00
|
|
|
| #{t('bouquins.author.series')}
|
2014-06-22 07:42:10 +00:00
|
|
|
ul
|
|
|
|
each serie in series
|
2014-07-08 09:26:49 +00:00
|
|
|
li: a(href='/serie/'+serie.id) #{serie.name}
|
2014-06-22 07:42:10 +00:00
|
|
|
if coauthors
|
2014-06-21 22:35:59 +00:00
|
|
|
h2
|
|
|
|
span.glyphicon.glyphicon-user
|
2014-07-08 09:26:49 +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
|