show only users that don't mark to deletion
This commit is contained in:
parent
1286ee4474
commit
663e73da92
|
@ -2,7 +2,7 @@
|
|||
<div class="card">
|
||||
<div class="card-header"><h5>{{ collection.name }}</h5></div>
|
||||
<ul class="list-group list-group-flush">
|
||||
<li class="list-group-item">Кол-во пользрвателей: {{ collection.users|length }}</li>
|
||||
<li class="list-group-item">Кол-во пользрвателей: {{ collection.users|selectattr("delete", "false")|list|length }}</li>
|
||||
</ul>
|
||||
<div class="card-footer px-2 pt-2">
|
||||
<div class="d-flex gap-2" role="group">
|
||||
|
|
Loading…
Reference in New Issue