only suggest local users as potential group members
This commit is contained in:
@ -11,7 +11,6 @@
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="group" value="{{ group.id }}">
|
||||
<input type="hidden" name="user" value="{{ user.username }}">
|
||||
{% if user.local %}
|
||||
<button class="button is-small{% if not minimal %} is-link{% endif %}" type="submit">
|
||||
{% if show_username %}
|
||||
{% blocktrans with username=user.localname %}Invite @{{ username }}{% endblocktrans %}
|
||||
@ -19,10 +18,6 @@
|
||||
{% trans "Invite" %}
|
||||
{% endif %}
|
||||
</button>
|
||||
{% else %}
|
||||
<!-- TODO: This is an incredibly ugly hack until groups are AP enabled -->
|
||||
<span><em>Remote User</em></span>
|
||||
{% endif %}
|
||||
</form>
|
||||
<form action="{% url 'remove-group-member' %}" method="POST" class="interaction add_{{ user.id }} {% if not group|is_member:user and not group|is_invited:user %}is-hidden{% endif %}" data-id="add_{{ user.id }}">
|
||||
{% csrf_token %}
|
||||
|
Reference in New Issue
Block a user