show 'better author and tags editing; partly copied from https://bitbucket.org/SpeedProg/calibreserver

This commit is contained in:
Cervinko Cera
2016-04-15 23:35:18 +02:00
parent 1d295eb954
commit a9801371b6
8 changed files with 152 additions and 683 deletions
+8 -1
View File
@@ -22,7 +22,14 @@
</div>
<div class="meta">
<p class="title">{{entry.title|shortentitle}}</p>
<p class="author"><a href="{{url_for('author', name=entry.authors[0].name) }}">{{entry.authors[0].name}}</a></p>
<p class="author">
{% for author in entry.authors %}
<a href="{{url_for('author', name=author.name) }}">{{author.name}}</a>
{% if not loop.last %}
&amp;
{% endif %}
{% endfor %}
</p>
{% if entry.ratings.__len__() > 0 %}
<div class="rating">
{% for number in range((entry.ratings[0].rating/2)|int(2)) %}