Merge branch 'admin-users' into shigusegubu-themes3
This commit is contained in:
commit
c91dfb5a54
4 changed files with 6 additions and 10 deletions
|
|
@ -52,10 +52,9 @@
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="finalItems.length === 0 && !!$slots.empty"
|
v-if="finalItems.length === 0 && !!$slots.empty"
|
||||||
class="list-empty-content faint"
|
class="list-item list-empty-content faint"
|
||||||
>
|
>
|
||||||
<slot name="empty" />
|
<slot name="empty" />
|
||||||
<slot name="load" />
|
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<button
|
<button
|
||||||
|
|
@ -64,7 +63,6 @@
|
||||||
@click="fetchEntries"
|
@click="fetchEntries"
|
||||||
>
|
>
|
||||||
{{ $t('general.generic_error') }}
|
{{ $t('general.generic_error') }}
|
||||||
{{ error }}
|
|
||||||
</button>
|
</button>
|
||||||
<FAIcon
|
<FAIcon
|
||||||
v-else-if="loading"
|
v-else-if="loading"
|
||||||
|
|
@ -79,7 +77,7 @@
|
||||||
>
|
>
|
||||||
{{ $t('general.more') }}
|
{{ $t('general.more') }}
|
||||||
</a>
|
</a>
|
||||||
<span v-else>
|
<span v-else-if="finalItems.length !== 0">
|
||||||
{{ $t('general.no_more') }}
|
{{ $t('general.no_more') }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
.UsersTab {
|
.UsersTab {
|
||||||
max-height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.splitter {
|
.splitter {
|
||||||
max-height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -135,11 +135,8 @@
|
||||||
<template #item="{item}">
|
<template #item="{item}">
|
||||||
<AdminUserCard :user-id="item.id" />
|
<AdminUserCard :user-id="item.id" />
|
||||||
</template>
|
</template>
|
||||||
<template #load>
|
|
||||||
<span> loading </span>
|
|
||||||
</template>
|
|
||||||
<template #empty>
|
<template #empty>
|
||||||
<span> no users </span>
|
<span>{{ $t('admin_dash.users.no_users_found')}}</span>
|
||||||
</template>
|
</template>
|
||||||
</List>
|
</List>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1295,6 +1295,7 @@
|
||||||
"users": {
|
"users": {
|
||||||
"title": "Users",
|
"title": "Users",
|
||||||
"local_id": "Local ID",
|
"local_id": "Local ID",
|
||||||
|
"no_users_found": "No users found",
|
||||||
"labels": {
|
"labels": {
|
||||||
"query": "Search",
|
"query": "Search",
|
||||||
"nickname": "{'@'}handle",
|
"nickname": "{'@'}handle",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue