Fix progress display in title
This commit is contained in:
parent
0b0a283e64
commit
7a5ea31ee7
@ -79,14 +79,12 @@
|
|||||||
<p class="is-size-7 is-flex is-align-items-center">
|
<p class="is-size-7 is-flex is-align-items-center">
|
||||||
<a href="{{ status.remote_id }}">{{ status.published_date|timesince }}</a>
|
<a href="{{ status.remote_id }}">{{ status.published_date|timesince }}</a>
|
||||||
{% if status.progress %}
|
{% if status.progress %}
|
||||||
<span class="help">
|
<span class="ml-1">
|
||||||
{% spaceless %}
|
{% if status.progress_mode == 'PG' %}
|
||||||
({% if status.progress_mode == 'PG' %}
|
({% include 'snippets/page_text.html' with page=status.progress total_pages=status.book.pages %})
|
||||||
{% include 'snippets/page_text.html' with page=status.progress total_pages=status.book.pages %}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ status.progress }}%
|
({{ status.progress }}%)
|
||||||
{% endif %})
|
{% endif %}
|
||||||
{% endspaceless %}
|
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% include 'snippets/privacy-icons.html' with item=status %}
|
{% include 'snippets/privacy-icons.html' with item=status %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user