2021-08-09 01:40:47 +00:00
|
|
|
{% load utilities %}
|
|
|
|
{% load status_display %}
|
|
|
|
{% load i18n %}
|
|
|
|
{% load humanize %}
|
|
|
|
|
|
|
|
<div class="media">
|
|
|
|
<figure class="media-left" aria-hidden="true">
|
2022-02-12 15:33:16 +00:00
|
|
|
<a class="image is-48x48" href="{{ status.user.local_path }}" tabindex="-1">
|
2021-08-09 01:40:47 +00:00
|
|
|
{% include 'snippets/avatar.html' with user=status.user ariaHide="true" medium="true" %}
|
|
|
|
</a>
|
|
|
|
</figure>
|
|
|
|
|
|
|
|
<div class="media-content">
|
|
|
|
<h3 class="has-text-weight-bold">
|
|
|
|
<span
|
|
|
|
itemprop="author"
|
|
|
|
itemscope
|
|
|
|
itemtype="https://schema.org/Person"
|
|
|
|
>
|
|
|
|
{% if status.user.avatar %}
|
|
|
|
<meta itemprop="image" content="/images/{{ status.user.avatar }}">
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<a
|
|
|
|
href="{{ status.user.local_path }}"
|
|
|
|
itemprop="url"
|
|
|
|
>
|
|
|
|
<span itemprop="name">{{ status.user.display_name }}</span>
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
{% include "snippets/status/header_content.html" %}
|
|
|
|
</h3>
|
2021-10-15 16:40:49 +00:00
|
|
|
<div class="breadcrumb has-dot-separator is-small">
|
|
|
|
<ul class="is-flex is-align-items-center">
|
|
|
|
<li>
|
|
|
|
<a href="{{ status.remote_id }}{% if status.user.local %}#anchor-{{ status.id }}{% endif %}">
|
|
|
|
{{ status.published_date|published_date }}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{% if status.edited_date %}
|
|
|
|
<li>
|
|
|
|
<span>
|
|
|
|
{% blocktrans with date=status.edited_date|published_date %}edited {{ date }}{% endblocktrans %}
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if status.progress %}
|
|
|
|
<li class="ml-1">
|
|
|
|
<span>
|
|
|
|
{% if status.progress_mode == 'PG' %}
|
|
|
|
{% include 'snippets/page_text.html' with page=status.progress total_pages=status.book.pages %}
|
|
|
|
{% else %}
|
|
|
|
{{ status.progress }}%
|
|
|
|
{% endif %}
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<li>
|
|
|
|
{% include 'snippets/privacy-icons.html' with item=status %}
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2021-08-09 01:40:47 +00:00
|
|
|
</div>
|
|
|
|
</div>
|