Merge branch 'admin-users' into shigusegubu-themes3

This commit is contained in:
Henry Jameson 2026-06-12 19:42:26 +03:00
commit c91dfb5a54
4 changed files with 6 additions and 10 deletions

View file

@ -52,10 +52,9 @@
</div>
<div
v-if="finalItems.length === 0 && !!$slots.empty"
class="list-empty-content faint"
class="list-item list-empty-content faint"
>
<slot name="empty" />
<slot name="load" />
</div>
<div class="footer">
<button
@ -64,7 +63,6 @@
@click="fetchEntries"
>
{{ $t('general.generic_error') }}
{{ error }}
</button>
<FAIcon
v-else-if="loading"
@ -79,7 +77,7 @@
>
{{ $t('general.more') }}
</a>
<span v-else>
<span v-else-if="finalItems.length !== 0">
{{ $t('general.no_more') }}
</span>
</div>

View file

@ -1,5 +1,5 @@
.UsersTab {
max-height: 100%;
height: 100%;
display: flex;
flex-direction: column;
padding: 0;
@ -10,7 +10,7 @@
}
.splitter {
max-height: 100%;
height: 100%;
display: flex;
overflow-y: hidden;
}

View file

@ -135,11 +135,8 @@
<template #item="{item}">
<AdminUserCard :user-id="item.id" />
</template>
<template #load>
<span> loading </span>
</template>
<template #empty>
<span> no users </span>
<span>{{ $t('admin_dash.users.no_users_found')}}</span>
</template>
</List>
</div>

View file

@ -1295,6 +1295,7 @@
"users": {
"title": "Users",
"local_id": "Local ID",
"no_users_found": "No users found",
"labels": {
"query": "Search",
"nickname": "{'@'}handle",