forked from enviPath/enviPy
Adding users to a group or setting permissions on a package now filter for active users. Also any inactive members of group/package get marked as such.
<img width="490" alt="{3B906C71-F3AE-41E4-A61C-B8377D79F685}.png" src="attachments/09cf149a-9d7a-4560-8ce7-9f3487527ee2">
Reviewed-on: enviPath/enviPy#329
Co-authored-by: Liam Brydon <lbry121@aucklanduni.ac.nz>
Co-committed-by: Liam Brydon <lbry121@aucklanduni.ac.nz>
This commit is contained in:
@ -93,7 +93,10 @@
|
||||
>
|
||||
{% csrf_token %}
|
||||
<div class="flex items-center gap-2">
|
||||
<span class="flex-1">{{ u.username }}</span>
|
||||
<span class="flex-1"
|
||||
>{{ u.username }}
|
||||
{% if not u.is_active %}<i>(inactive)</i>{% endif %}</span
|
||||
>
|
||||
<input type="hidden" name="member" value="{{ u.url }}" />
|
||||
<input type="hidden" name="action" value="remove" />
|
||||
<button type="submit" class="btn btn-error btn-sm">
|
||||
|
||||
Reference in New Issue
Block a user