show only users that don't mark to deletion

This commit is contained in:
Анатолий Богомолов 2024-03-13 16:56:49 +10:00
parent 1286ee4474
commit 663e73da92
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<div class="card"> <div class="card">
<div class="card-header"><h5>{{ collection.name }}</h5></div> <div class="card-header"><h5>{{ collection.name }}</h5></div>
<ul class="list-group list-group-flush"> <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> </ul>
<div class="card-footer px-2 pt-2"> <div class="card-footer px-2 pt-2">
<div class="d-flex gap-2" role="group"> <div class="d-flex gap-2" role="group">