Don't show reshelve buttons on other people's shelves

yikes
This commit is contained in:
Mouse Reeve 2020-11-07 20:47:56 -08:00
parent 50aaa8d9a1
commit e21d59386c

View file

@ -66,9 +66,11 @@
{% include 'snippets/stars.html' with rating=ratings|dict_key:book.id %}
</td>
{% endif %}
{% if shelf.user == request.user %}
<td>
{% include 'snippets/shelf_selector.html' with current=shelf %}
</td>
{% endif %}
</tr>
{% endfor %}
</table>