Activitypub serializable edition list
This commit is contained in:
parent
441220a547
commit
53a358f2fd
5 changed files with 34 additions and 9 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue