mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-24 02:21:04 +00:00
Fixes hiding import book option in search for anonymous users
This commit is contained in:
parent
ae0034e678
commit
b015d6c9a1
1 changed files with 3 additions and 1 deletions
|
@ -22,7 +22,8 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{% if book_results|slice:":1" and local_results.results and request.user.is_authenticated %}
|
{% if request.user.is_authenticated %}
|
||||||
|
{% if book_results|slice:":1" and local_results.results %}
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<p>
|
<p>
|
||||||
Didn't find what you were looking for?
|
Didn't find what you were looking for?
|
||||||
|
@ -61,6 +62,7 @@
|
||||||
{% include 'snippets/toggle/close_button.html' with text="Hide results from other catalogues" small=True controls_text="more-results" %}
|
{% include 'snippets/toggle/close_button.html' with text="Hide results from other catalogues" small=True controls_text="more-results" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<section class="block">
|
<section class="block">
|
||||||
|
|
Loading…
Reference in a new issue