bouquins/views/author.jade
Meutel 0942319fa8 add footer to layout
add app name, version, url in footer
2014-07-10 10:51:05 +02:00

41 lines
1.0 KiB
Plaintext

extends layout
block content
ol.breadcrumb
li
a(href="/")= t('bouquins.nav.home')
li
a(href="/#authors")= t('bouquins.nav.authors')
li.active= title
div.container
div.page-header
h1
span.glyphicon.glyphicon-user
| #{name}
h2
span.glyphicon.glyphicon-book
| #{t('bouquins.author.books')}
ul
each book in books
li
a(href='/book/'+book.id)
| #{book.title}
if book.serie
span.glyphicon.glyphicon-list
a(href='/serie/'+book.serie.id)
| #{book.serie.name} (#{book.series_index})
if series
h2
span.glyphicon.glyphicon-list
| #{t('bouquins.author.series')}
ul
each serie in series
li: a(href='/serie/'+serie.id) #{serie.name}
if coauthors
h2
span.glyphicon.glyphicon-user
| #{t('bouquins.author.coauthors')}
ul
each author in coauthors
li: a(href='/author/'+author.id)= author.name