diff --git a/bookwyrm/templates/book/book.html b/bookwyrm/templates/book/book.html index c73e2920a..6613d397b 100644 --- a/bookwyrm/templates/book/book.html +++ b/bookwyrm/templates/book/book.html @@ -405,7 +405,7 @@ {% block scripts %} -{% if user.show_guided_tour %} +{% if request.user.show_guided_tour %} {% include 'guided_tour/book.html' %} {% endif %} {% endblock %} diff --git a/bookwyrm/templates/feed/layout.html b/bookwyrm/templates/feed/layout.html index 23b467156..d1c3a4f6f 100644 --- a/bookwyrm/templates/feed/layout.html +++ b/bookwyrm/templates/feed/layout.html @@ -33,7 +33,7 @@ {% block scripts %} -{% if user.show_guided_tour %} +{% if request.user.show_guided_tour %} {% include 'guided_tour/home.html' %} {% endif %} diff --git a/bookwyrm/templates/groups/group.html b/bookwyrm/templates/groups/group.html index 2324abc47..26eb76977 100644 --- a/bookwyrm/templates/groups/group.html +++ b/bookwyrm/templates/groups/group.html @@ -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 %} diff --git a/bookwyrm/templates/lists/lists.html b/bookwyrm/templates/lists/lists.html index 9bf6d5715..db6cc45f3 100644 --- a/bookwyrm/templates/lists/lists.html +++ b/bookwyrm/templates/lists/lists.html @@ -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 %} diff --git a/bookwyrm/templates/search/layout.html b/bookwyrm/templates/search/layout.html index cbd547dfc..42729ebec 100644 --- a/bookwyrm/templates/search/layout.html +++ b/bookwyrm/templates/search/layout.html @@ -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 %} diff --git a/bookwyrm/templates/shelf/shelf.html b/bookwyrm/templates/shelf/shelf.html index f678f8149..627ed98d5 100644 --- a/bookwyrm/templates/shelf/shelf.html +++ b/bookwyrm/templates/shelf/shelf.html @@ -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 %} diff --git a/bookwyrm/templates/user/groups.html b/bookwyrm/templates/user/groups.html index 9ac513518..133739149 100644 --- a/bookwyrm/templates/user/groups.html +++ b/bookwyrm/templates/user/groups.html @@ -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 %} diff --git a/bookwyrm/templates/user/user.html b/bookwyrm/templates/user/user.html index 45c08909d..b67f7395f 100755 --- a/bookwyrm/templates/user/user.html +++ b/bookwyrm/templates/user/user.html @@ -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 %}