mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-02-21 21:36:18 +00:00
Header fixes
This commit is contained in:
parent
2cacf5146b
commit
17436b6657
1 changed files with 80 additions and 74 deletions
|
@ -1,5 +1,6 @@
|
|||
{% load bookwyrm_tags %}
|
||||
{% load i18n %}
|
||||
{% load humanize %}
|
||||
|
||||
<div class="media">
|
||||
<figure class="media-left">
|
||||
|
@ -9,10 +10,7 @@
|
|||
</figure>
|
||||
|
||||
<div class="media-content">
|
||||
<p class="is-size-7">
|
||||
<a href="{{ status.remote_id }}">{{ status.published_date | post_date }}</a>
|
||||
{% include 'snippets/privacy-icons.html' with item=status %}
|
||||
</p>
|
||||
<p>
|
||||
<span
|
||||
itemprop="author"
|
||||
itemscope
|
||||
|
@ -73,18 +71,26 @@
|
|||
{% include 'snippets/book_titleby.html' with book=status.book %}
|
||||
{% endif %}
|
||||
{% elif status.mention_books %}
|
||||
<a href="/book/{{ status.mention_books.first.id }}">{{ status.mention_books.first.title }}</a>
|
||||
<a href="/book/{{ status.mention_books.first.id }}">
|
||||
{{ status.mention_books.first.title }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
</p>
|
||||
<p class="is-size-7 is-flex is-align-items-center">
|
||||
<a href="{{ status.remote_id }}">{{ status.published_date|timesince }}</a>
|
||||
{% if status.progress %}
|
||||
<p class="help">
|
||||
<span class="help">
|
||||
{% spaceless %}
|
||||
({% if status.progress_mode == 'PG' %}
|
||||
{% include 'snippets/page_text.html' with page=status.progress total_pages=status.book.pages %}
|
||||
{% else %}
|
||||
{{ status.progress }}%
|
||||
{% endif %})
|
||||
</p>
|
||||
{% endspaceless %}
|
||||
</span>
|
||||
{% endif %}
|
||||
{% include 'snippets/privacy-icons.html' with item=status %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue