mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-14 20:26:32 +00:00
Don't show re-shelve buttons on other people's shelves
yikes
This commit is contained in:
parent
abd96717da
commit
eb1e4fd24c
1 changed files with 2 additions and 0 deletions
|
@ -66,9 +66,11 @@
|
||||||
{% include 'snippets/stars.html' with rating=ratings|dict_key:book.id %}
|
{% include 'snippets/stars.html' with rating=ratings|dict_key:book.id %}
|
||||||
</td>
|
</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if shelf.user == request.user %}
|
||||||
<td>
|
<td>
|
||||||
{% include 'snippets/shelf_selector.html' with current=shelf %}
|
{% include 'snippets/shelf_selector.html' with current=shelf %}
|
||||||
</td>
|
</td>
|
||||||
|
{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in a new issue