From 776f1768d92a06ebcd3869529eb35756444a1745 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 1 Apr 2021 09:30:15 -0700 Subject: [PATCH] Updates get started users template --- bookwyrm/templates/get_started/layout.html | 2 ++ bookwyrm/templates/get_started/profile.html | 2 +- bookwyrm/templates/get_started/users.html | 17 +++++++++++++++++ bookwyrm/views/get_started.py | 1 - 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/bookwyrm/templates/get_started/layout.html b/bookwyrm/templates/get_started/layout.html index 4d79dd0e8..db8bce55b 100644 --- a/bookwyrm/templates/get_started/layout.html +++ b/bookwyrm/templates/get_started/layout.html @@ -40,6 +40,8 @@ {% trans "Skip this step" %} + {% else %} + {% trans "Finish" %} {% endif %} diff --git a/bookwyrm/templates/get_started/profile.html b/bookwyrm/templates/get_started/profile.html index 7ee43c082..9c31957fb 100644 --- a/bookwyrm/templates/get_started/profile.html +++ b/bookwyrm/templates/get_started/profile.html @@ -51,7 +51,7 @@ {% url 'directory' as path %}

{% trans "Your account will show up in the directory, and may be recommended to other BookWyrm users." %}

-
+
{% endblock %} diff --git a/bookwyrm/templates/get_started/users.html b/bookwyrm/templates/get_started/users.html index 14c04e634..28ab1913f 100644 --- a/bookwyrm/templates/get_started/users.html +++ b/bookwyrm/templates/get_started/users.html @@ -5,6 +5,23 @@

{% trans "Who to follow" %}

+

You can follow users on other BookWyrm instances and federated services like Mastodon.

+
+
+ + {% if request.GET.query and not user_results %} +

{% trans "Sorry, no users were found" %}

+ {% endif %} +
+
+ +
+
+ {% include 'feed/suggested_users.html' with suggested_users=suggested_users %}
{% endblock %} diff --git a/bookwyrm/views/get_started.py b/bookwyrm/views/get_started.py index fba018406..184cfc3dd 100644 --- a/bookwyrm/views/get_started.py +++ b/bookwyrm/views/get_started.py @@ -114,6 +114,5 @@ class GetStartedUsers(View): ) data = { "suggested_users": suggested_users, - "next": "get-started-profile", } return TemplateResponse(request, "get_started/users.html", data)