forked from verdnatura/salix-front
Small changes
This commit is contained in:
parent
c96e6482f9
commit
946aa6b24d
|
@ -37,7 +37,11 @@ onBeforeMount(() => {
|
||||||
@on-fetch="(data) => (rolesOptions = data)"
|
@on-fetch="(data) => (rolesOptions = data)"
|
||||||
auto-load
|
auto-load
|
||||||
/>
|
/>
|
||||||
<VnFilterPanel :data-key="props.dataKey" :search-button="true">
|
<VnFilterPanel
|
||||||
|
:data-key="props.dataKey"
|
||||||
|
:search-button="true"
|
||||||
|
:hidden-tags="['search']"
|
||||||
|
>
|
||||||
<template #tags="{ tag, formatFn }">
|
<template #tags="{ tag, formatFn }">
|
||||||
<div class="q-gutter-x-xs">
|
<div class="q-gutter-x-xs">
|
||||||
<strong>{{ t(`acls.aclFilter.${tag.label}`) }}: </strong>
|
<strong>{{ t(`acls.aclFilter.${tag.label}`) }}: </strong>
|
||||||
|
|
|
@ -9,13 +9,16 @@ import VnRow from 'components/ui/VnRow.vue';
|
||||||
import VnInput from 'src/components/common/VnInput.vue';
|
import VnInput from 'src/components/common/VnInput.vue';
|
||||||
import FormModel from 'components/FormModel.vue';
|
import FormModel from 'components/FormModel.vue';
|
||||||
import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue';
|
import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue';
|
||||||
|
import VnSearchbar from 'components/ui/VnSearchbar.vue';
|
||||||
|
|
||||||
import { useValidator } from 'src/composables/useValidator';
|
import { useValidator } from 'src/composables/useValidator';
|
||||||
import { useArrayData } from 'src/composables/useArrayData';
|
import { useArrayData } from 'src/composables/useArrayData';
|
||||||
|
import { useStateStore } from 'stores/useStateStore';
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
const stateStore = useStateStore();
|
||||||
const arrayData = useArrayData('aclCreate');
|
const arrayData = useArrayData('aclCreate');
|
||||||
const { store } = arrayData;
|
const { store } = arrayData;
|
||||||
const validationsStore = useValidator();
|
const validationsStore = useValidator();
|
||||||
|
@ -67,6 +70,18 @@ onMounted(() => {
|
||||||
@on-fetch="(data) => (rolesOptions = data)"
|
@on-fetch="(data) => (rolesOptions = data)"
|
||||||
auto-load
|
auto-load
|
||||||
/>
|
/>
|
||||||
|
<template v-if="stateStore.isHeaderMounted()">
|
||||||
|
<Teleport to="#searchbar">
|
||||||
|
<VnSearchbar
|
||||||
|
data-key="AccountAcls"
|
||||||
|
url="ACLs"
|
||||||
|
:expr-builder="exprBuilder"
|
||||||
|
:label="t('acls.search')"
|
||||||
|
:info="t('acls.searchInfo')"
|
||||||
|
custom-route-redirect-name="AccountAcls"
|
||||||
|
/>
|
||||||
|
</Teleport>
|
||||||
|
</template>
|
||||||
<QPage class="column items-center full-width">
|
<QPage class="column items-center full-width">
|
||||||
<VnSubToolbar />
|
<VnSubToolbar />
|
||||||
<FormModel
|
<FormModel
|
||||||
|
|
|
@ -41,16 +41,6 @@ role:
|
||||||
description: Description
|
description: Description
|
||||||
id: Id
|
id: Id
|
||||||
name: Name
|
name: Name
|
||||||
mailAlias:
|
|
||||||
pageTitles:
|
|
||||||
aliasUsers: Users
|
|
||||||
search: Search mail alias
|
|
||||||
searchInfo: Search alias by id or name
|
|
||||||
alias: Alias
|
|
||||||
description: Description
|
|
||||||
id: Id
|
|
||||||
newAlias: New alias
|
|
||||||
name: Name
|
|
||||||
ldap:
|
ldap:
|
||||||
enableSync: Enable synchronization
|
enableSync: Enable synchronization
|
||||||
server: Server
|
server: Server
|
||||||
|
|
|
@ -52,16 +52,6 @@ role:
|
||||||
description: Descripción
|
description: Descripción
|
||||||
id: Idd
|
id: Idd
|
||||||
name: Nombre
|
name: Nombre
|
||||||
mailAlias:
|
|
||||||
pageTitles:
|
|
||||||
aliasUsers: Usuarios
|
|
||||||
search: Buscar alias de correo
|
|
||||||
searchInfo: Buscar alias por id o nombre
|
|
||||||
alias: Alias
|
|
||||||
description: Descripción
|
|
||||||
id: Id
|
|
||||||
newAlias: Nuevo alias
|
|
||||||
name: Nombre
|
|
||||||
ldap:
|
ldap:
|
||||||
enableSync: Habilitar sincronización
|
enableSync: Habilitar sincronización
|
||||||
server: Servidor
|
server: Servidor
|
||||||
|
|
Loading…
Reference in New Issue