2014-06-18 20:51:41 +00:00
|
|
|
extends layout
|
|
|
|
|
|
|
|
block content
|
2014-06-21 22:35:59 +00:00
|
|
|
ol.breadcrumb
|
|
|
|
li
|
|
|
|
a(href="/") Home
|
|
|
|
li
|
2014-06-28 06:44:52 +00:00
|
|
|
a(href="/#authors") Auteurs
|
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
|
|
|
|
| Livres
|
|
|
|
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
|
|
|
|
| Series
|
|
|
|
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
|
|
|
|
| Co-Auteur(s)
|
|
|
|
ul
|
|
|
|
each author in coauthors
|
|
|
|
li: a(href='/author/'+author.id)= author.name
|