mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-04 22:38:43 +00:00
add guided tour to user shelves
This commit is contained in:
parent
044a173095
commit
0e06143c31
1 changed files with 7 additions and 1 deletions
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
<nav class="block columns is-mobile scroll-x">
|
<nav class="block columns is-mobile scroll-x">
|
||||||
<div class="column pr-0">
|
<div class="column pr-0">
|
||||||
<div class="tabs">
|
<div class="tabs" id="user-shelves">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="{% if shelf.identifier == 'all' %}is-active{% endif %}">
|
<li class="{% if shelf.identifier == 'all' %}is-active{% endif %}">
|
||||||
<a href="{% url 'user-shelves' user|username %}"{% if shelf.identifier == 'all' %} aria-current="page"{% 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 %}
|
{% include 'snippets/pagination.html' with page=books path=request.path %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block scripts %}
|
||||||
|
{% if user.show_guided_tour %}
|
||||||
|
{% include 'guided_tour/user_books.html' %}
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue