diff --git a/bookwyrm/templates/groups/find_users.html b/bookwyrm/templates/groups/find_users.html new file mode 100644 index 00000000..9154a527 --- /dev/null +++ b/bookwyrm/templates/groups/find_users.html @@ -0,0 +1,6 @@ +{% extends 'groups/group.html' %} + +{% block panel %} +

Add users to {{ group.name }}

+ {% include 'groups/suggested_users.html' with suggested_users=suggested_users query=query %} +{% endblock %} \ No newline at end of file diff --git a/bookwyrm/templates/groups/group.html b/bookwyrm/templates/groups/group.html index c1469415..a73d7825 100644 --- a/bookwyrm/templates/groups/group.html +++ b/bookwyrm/templates/groups/group.html @@ -7,30 +7,13 @@
- {% if request.GET.updated %} -
- {% trans "You successfully added a user to this group!" %} -
- {% endif %} - {% if not group.members.exists %} -

{% trans "This group has no members" %}

- {% else %} -

Group Members

- - {% endif %} + {% include "groups/users.html" %} + +

Lists

{% if not group.lists.exists %}

{% trans "This group has no lists" %}

{% else %} -

Lists