mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-10-31 22:19:00 +00:00
26 lines
712 B
HTML
26 lines
712 B
HTML
{% spaceless %}
|
|
{% load i18n %}
|
|
{% load utilities %}
|
|
{% load status_display %}
|
|
|
|
{% load_book status as book %}
|
|
{% if book.authors.exists %}
|
|
|
|
{% with author=book.authors.first %}
|
|
{% blocktrans trimmed with book_path=book.local_path book=book|book_title author_name=author.name author_path=author.local_path %}
|
|
stopped reading <a href="{{ book_path }}">{{ book }}</a> by <a href="{{ author_path }}">{{ author_name }}</a>
|
|
{% endblocktrans %}
|
|
{% endwith %}
|
|
|
|
{% else %}
|
|
|
|
{% blocktrans trimmed with book_path=book.local_path book=book|book_title %}
|
|
stopped reading <a href="{{ book_path }}">{{ book }}</a>
|
|
{% endblocktrans %}
|
|
|
|
{% endif %}
|
|
|
|
{% include 'snippets/book_series.html' with book=book %}
|
|
|
|
{% endspaceless %}
|
|
|