fix group references in templates

Let's do this the sensible way huh, by using backwards references to memberships etc

Also adds filters for is_member and is_invited so we don't have to do weird things in group Views
This commit is contained in:
Hugh Rundle
2021-10-02 10:47:42 +10:00
parent 2f42161dda
commit 0f3be40957
8 changed files with 35 additions and 21 deletions

View File

@ -11,7 +11,7 @@
{% block searchresults %}
{% endblock %}
{% include "groups/members.html" %}
{% include "groups/members.html" with group=group %}
<h2 class="title is-5">Lists</h2>
{% if not lists %}