group membership invitations
- fix display of group information on user and group pages - send, receive, accept and reject invitations
This commit is contained in:
parent
89dea44614
commit
0984972b05
10 changed files with 72 additions and 59 deletions
|
@ -20,6 +20,7 @@
|
|||
<span class="is-sr-only">Manager</span>
|
||||
</span>
|
||||
{% endif %}
|
||||
<!-- TODO: change this to a remove_from_group button -->
|
||||
{% include 'snippets/add_to_group_button.html' with user=member group=group minimal=True %}
|
||||
{% if member.mutuals %}
|
||||
<p class="help">
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
</div>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
No users found for {{ query }}
|
||||
No potential members found for "{{ query }}"
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
{% load interaction %}
|
||||
|
||||
<div class="columns is-multiline">
|
||||
{% for group in groups %}
|
||||
{% for membership in memberships %}
|
||||
{% with group=membership.group %}
|
||||
<div class="column is-one-quarter">
|
||||
<div class="card is-stretchable">
|
||||
<header class="card-header">
|
||||
|
@ -31,5 +32,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endwith %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue