add guided tour to user shelves

This commit is contained in:
Hugh Rundle 2022-06-18 17:17:22 +10:00
parent 044a173095
commit 0e06143c31

View file

@ -32,7 +32,7 @@
<nav class="block columns is-mobile scroll-x">
<div class="column pr-0">
<div class="tabs">
<div class="tabs" id="user-shelves">
<ul>
<li class="{% if shelf.identifier == 'all' %}is-active{% endif %}">
<a href="{% url 'user-shelves' user|username %}"{% if shelf.identifier == 'all' %} aria-current="page"{% endif %}>
@ -216,3 +216,9 @@
{% include 'snippets/pagination.html' with page=books path=request.path %}
</div>
{% endblock %}
{% block scripts %}
{% if user.show_guided_tour %}
{% include 'guided_tour/user_books.html' %}
{% endif %}
{% endblock %}