Bugfixes from testrun

This commit is contained in:
Ozzie Isaacs
2021-05-14 08:26:56 +02:00
parent 6bc426b21d
commit 06347b7e3c
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
</button>
<ul id="add-to-shelves" class="dropdown-menu" aria-labelledby="add-to-shelf">
{% for shelf in g.shelves_access %}
{% if not shelf.id in books_shelfs and ( not shelf.is_public or g.user.role_edit_shelfs() ) %}
{% if not shelf.is_public or g.user.role_edit_shelfs() %}
<li><a href="{{ url_for('shelf.search_to_shelf', shelf_id=shelf.id) }}"> {{shelf.name}}{% if shelf.is_public == 1 %} {{_('(Public)')}}{% endif %}</a></li>
{% endif %}
{%endfor%}