|
|
@ -18,7 +18,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="meta">
|
|
|
|
<div class="meta">
|
|
|
|
<p class="title">{{entry.title|shortentitle}}</p>
|
|
|
|
<p class="title">{{entry.title|shortentitle}}</p>
|
|
|
|
<p class="author"><a href="{{url_for('author', book_id=entry.authors[0].id) }}">{{entry.authors[0].name}}</a></p>
|
|
|
|
<p class="author"><a href="{{url_for('author', book_id=entry.authors[0].id) }}">{{entry.authors[0].name|shortentitle(30)}}</a></p>
|
|
|
|
{% if entry.ratings.__len__() > 0 %}
|
|
|
|
{% if entry.ratings.__len__() > 0 %}
|
|
|
|
<div class="rating">
|
|
|
|
<div class="rating">
|
|
|
|
{% for number in range((entry.ratings[0].rating/2)|int(2)) %}
|
|
|
|
{% for number in range((entry.ratings[0].rating/2)|int(2)) %}
|
|
|
@ -53,10 +53,10 @@
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="meta">
|
|
|
|
<div class="meta">
|
|
|
|
<p class="title">{{entry.title|truncate(60)}}</p>
|
|
|
|
<p class="title">{{entry.title|shortentitle}}</p>
|
|
|
|
<p class="author">
|
|
|
|
<p class="author">
|
|
|
|
{% for author in entry.authors %}
|
|
|
|
{% for author in entry.authors %}
|
|
|
|
<a href="{{url_for('author', book_id=author.id) }}">{{author.name.replace('|',',')}}</a>
|
|
|
|
<a href="{{url_for('author', book_id=author.id) }}">{{author.name.replace('|',',')|shortentitle(30)}}</a>
|
|
|
|
{% if not loop.last %}
|
|
|
|
{% if not loop.last %}
|
|
|
|
&
|
|
|
|
&
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|