CHanges urls from shelves to books

This commit is contained in:
Mouse Reeve
2021-03-31 09:34:16 -07:00
parent 5dc23682a2
commit 4a490d25a8
2 changed files with 24 additions and 24 deletions

View File

@ -42,7 +42,7 @@
{% endif %}
</div>
{% with user|username as username %}
{% if 'user/'|add:username|add:'/shelf' not in request.path and 'user/'|add:username|add:'/shelves' not in request.path %}
{% if 'user/'|add:username|add:'/books' not in request.path %}
<nav class="tabs">
<ul>
{% url 'user-feed' user|username as url %}