bouquins/views/author.jade

41 lines
937 B
Plaintext
Raw Normal View History

extends layout
block content
2014-06-21 22:35:59 +00:00
ol.breadcrumb
li
a(href="/") Home
li
a(href="/author") Auteurs
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