forked from mirrors/bookwyrm
Fixes error for logged out user viewing lists
This commit is contained in:
parent
fe75049177
commit
2ec01803e0
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
<h4 class="card-header-title">
|
||||
<a href="{{ list.local_path }}">{{ list.name }}</a> <span class="subtitle">{% include 'snippets/privacy-icons.html' with item=list %}</span>
|
||||
</h4>
|
||||
{% if request.user|saved:list %}
|
||||
{% if request.user.is_authenticated and request.user|saved:list %}
|
||||
<div class="card-header-icon">
|
||||
{% trans "Saved" as text %}
|
||||
<span class="icon icon-bookmark has-text-grey" title="{{ text }}">
|
||||
|
|
Loading…
Reference in a new issue