mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-22 16:16:39 +00:00
guided tour only for request.user
This commit is contained in:
parent
3365bb6d35
commit
53a89f69e7
8 changed files with 8 additions and 8 deletions
|
@ -405,7 +405,7 @@
|
|||
{% block scripts %}
|
||||
<script src="{% static "js/tabs.js" %}?v={{ js_cache }}"></script>
|
||||
<script src="{% static "js/autocomplete.js" %}?v={{ js_cache }}"></script>
|
||||
{% if user.show_guided_tour %}
|
||||
{% if request.user.show_guided_tour %}
|
||||
{% include 'guided_tour/book.html' %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
{% block scripts %}
|
||||
<script src="{% static "js/tabs.js" %}?v={{ js_cache }}"></script>
|
||||
|
||||
{% if user.show_guided_tour %}
|
||||
{% if request.user.show_guided_tour %}
|
||||
{% include 'guided_tour/home.html' %}
|
||||
{% endif %}
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{% if user.show_guided_tour %}
|
||||
{% if request.user.show_guided_tour %}
|
||||
{% include 'guided_tour/group.html' %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{% if user.show_guided_tour %}
|
||||
{% if request.user.show_guided_tour %}
|
||||
{% include 'guided_tour/lists.html' %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{% if user.show_guided_tour %}
|
||||
{% if request.user.show_guided_tour %}
|
||||
{% include 'guided_tour/search.html' %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -218,7 +218,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{% if user.show_guided_tour %}
|
||||
{% if request.user.show_guided_tour %}
|
||||
{% include 'guided_tour/user_books.html' %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{% if user.show_guided_tour %}
|
||||
{% if request.user.show_guided_tour %}
|
||||
{% include 'guided_tour/user_groups.html' %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{% if user.show_guided_tour %}
|
||||
{% if request.user.show_guided_tour %}
|
||||
{% include 'guided_tour/user_profile.html' %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue