2014-06-18 20:51:41 +00:00
|
|
|
extends layout
|
2014-06-20 18:58:12 +00:00
|
|
|
|
2014-06-18 20:51:41 +00:00
|
|
|
block content
|
2014-06-20 18:58:12 +00:00
|
|
|
ol.breadcrumb
|
|
|
|
li
|
2014-06-28 23:21:17 +00:00
|
|
|
a(href="/")= t('bouquins.nav.home')
|
2014-06-20 18:58:12 +00:00
|
|
|
li
|
2014-06-28 23:21:17 +00:00
|
|
|
a(href="/#books")= t('bouquins.nav.books')
|
2014-06-20 18:58:12 +00:00
|
|
|
li.active= title
|
|
|
|
div.container
|
|
|
|
div.page-header
|
|
|
|
h1
|
|
|
|
span.glyphicon.glyphicon-book
|
|
|
|
= ' '+title+' '
|
|
|
|
a.btn.btn-success(href='/calibre/'+path+'/'+data_name+'.'+format.toLowerCase())
|
|
|
|
span.glyphicon.glyphicon-download-alt
|
2014-06-28 23:21:17 +00:00
|
|
|
= ' '+t('bouquins.book.download')+' ' + format
|
2014-06-20 18:58:12 +00:00
|
|
|
div.row
|
|
|
|
div.col-md-5
|
|
|
|
h2
|
|
|
|
span.glyphicon.glyphicon-user
|
2014-06-28 23:21:17 +00:00
|
|
|
= ' '+t('bouquins.book.authors')
|
2014-06-20 18:58:12 +00:00
|
|
|
ul.list-unstyled
|
|
|
|
each author in authors
|
|
|
|
li: a(href='/author/'+author.id)= author.name
|
|
|
|
if series_name
|
|
|
|
h2
|
|
|
|
span.glyphicon.glyphicon-list
|
2014-06-28 23:21:17 +00:00
|
|
|
= ' '+t('bouquins.book.serie')
|
2014-06-20 18:58:12 +00:00
|
|
|
div
|
2014-06-21 22:35:59 +00:00
|
|
|
a(href='/serie/'+series_id)= series_name + ' '
|
2014-06-20 18:58:12 +00:00
|
|
|
span.badge= series_index
|
|
|
|
h2
|
|
|
|
span.glyphicon.glyphicon-globe
|
2014-06-28 23:21:17 +00:00
|
|
|
= ' '+t('bouquins.book.language')
|
2014-06-20 18:58:12 +00:00
|
|
|
div= lang_code
|
|
|
|
h2
|
|
|
|
span.glyphicon.glyphicon-tags
|
2014-06-28 23:21:17 +00:00
|
|
|
= ' '+t('bouquins.book.tags')
|
2014-06-20 18:58:12 +00:00
|
|
|
div
|
|
|
|
each tag in tags
|
|
|
|
span.label.label-info= tag.name
|
|
|
|
|
|
|
|
|
div.col-md-7
|
|
|
|
if has_cover == 1
|
2014-06-28 23:21:17 +00:00
|
|
|
img.img-rounded.img-responsive(src='/calibre/'+path+'/cover.jpg',alt=t('bouquins.book.nocover'))
|
2014-06-29 17:55:58 +00:00
|
|
|
include footer.jade
|