mirror of
https://github.com/janeczku/calibre-web
synced 2025-01-28 18:04:48 +00:00
Add series name and index to book cover info
This commit is contained in:
parent
5dd08e438c
commit
54cf3652b0
@ -127,6 +127,12 @@ a { color: #45b29d; }
|
|||||||
color: #444;
|
color: #444;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.container-fluid .book .meta .series {
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 12px;
|
||||||
|
color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
.container-fluid .book .meta .author {
|
.container-fluid .book .meta .author {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #999;
|
color: #999;
|
||||||
|
@ -34,6 +34,14 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</p>
|
</p>
|
||||||
|
{% if entry.series.__len__() > 0 %}
|
||||||
|
<p class="series">
|
||||||
|
<a href="{{url_for('web.books_list', data='series', sort='new', book_id=entry.series[0].id )}}">
|
||||||
|
{{entry.series[0].name}}
|
||||||
|
</a>
|
||||||
|
({{entry.series_index}})
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
{% 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)) %}
|
||||||
|
@ -33,6 +33,14 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</p>
|
</p>
|
||||||
|
{% if entry.series.__len__() > 0 %}
|
||||||
|
<p class="series">
|
||||||
|
<a href="{{url_for('web.books_list', data='series', sort='new', book_id=entry.series[0].id )}}">
|
||||||
|
{{entry.series[0].name}}
|
||||||
|
</a>
|
||||||
|
({{entry.series_index}})
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
{% 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)) %}
|
||||||
@ -101,6 +109,14 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{%endfor%}
|
{%endfor%}
|
||||||
</p>
|
</p>
|
||||||
|
{% if entry.series.__len__() > 0 %}
|
||||||
|
<p class="series">
|
||||||
|
<a href="{{url_for('web.books_list', data='series', sort='new', book_id=entry.series[0].id )}}">
|
||||||
|
{{entry.series[0].name}}
|
||||||
|
</a>
|
||||||
|
({{entry.series_index}})
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
{% 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)) %}
|
||||||
|
@ -76,6 +76,15 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</p>
|
</p>
|
||||||
|
{% if entry.series.__len__() > 0 %}
|
||||||
|
<p class="series">
|
||||||
|
<a href="{{url_for('web.books_list', data='series', sort='new', book_id=entry.series[0].id )}}">
|
||||||
|
{{entry.series[0].name}}
|
||||||
|
</a>
|
||||||
|
({{entry.series_index}})
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% 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)) %}
|
||||||
|
@ -43,6 +43,14 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</p>
|
</p>
|
||||||
|
{% if entry.series.__len__() > 0 %}
|
||||||
|
<p class="series">
|
||||||
|
<a href="{{url_for('web.books_list', data='series', sort='new', book_id=entry.series[0].id )}}">
|
||||||
|
{{entry.series[0].name}}
|
||||||
|
</a>
|
||||||
|
({{entry.series_index|int}})
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
{% 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)) %}
|
||||||
|
Loading…
Reference in New Issue
Block a user