find users for groups

- search for users to add to a group
- display suggested users on search results screen

TODO: actaully enable users to be added!
TODO: groups/suggested_users probably could be replaced with some logic in snippets/suggested_users.html
This commit is contained in:
Hugh Rundle
2021-09-25 11:11:58 +10:00
parent 8c326ec52f
commit cbe172df3d
5 changed files with 139 additions and 20 deletions

View File

@ -0,0 +1,6 @@
{% extends 'groups/group.html' %}
{% block panel %}
<h1 class="title">Add users to <a href="{{ group.local_path }}">{{ group.name }}</a></h1>
{% include 'groups/suggested_users.html' with suggested_users=suggested_users query=query %}
{% endblock %}