Activitypub serializable edition list

This commit is contained in:
Mouse Reeve
2020-11-04 12:55:00 -08:00
parent 441220a547
commit 53a358f2fd
5 changed files with 34 additions and 9 deletions

View File

@ -51,7 +51,7 @@
{% include 'snippets/book_description.html' %}
{% if book.parent_work.edition_set.count > 1 %}
<p><a href="/editions/{{ book.parent_work.id }}">{{ book.parent_work.edition_set.count }} editions</a></p>
<p><a href="/book/{{ book.parent_work.id }}/editions">{{ book.parent_work.edition_set.count }} editions</a></p>
{% endif %}
</div>

View File

@ -18,7 +18,7 @@
{% endif %}
</section>
{% if book_results|slice:":1" and local_results.results %}
{% if book_results|slice:":1" and local_results.results and request.user.is_authenticated %}
<div class="block">
<p>
Didn't find what you were looking for?