Account Submodule #412

Merged
jsegarra merged 29 commits from :feature/AccountList into dev 2024-06-19 05:45:08 +00:00
3 changed files with 17 additions and 32 deletions
Showing only changes of commit c2dd7831d1 - Show all commits

View File

@ -1,15 +1,10 @@
<script setup>
import { ref, computed, onMounted } from 'vue';
import { ref, computed } from 'vue';
import { useRoute } from 'vue-router';
import { useI18n } from 'vue-i18n';
import { toDate, toPercentage } from 'src/filters';
import { useState } from 'src/composables/useState';
import CardDescriptor from 'components/ui/CardDescriptor.vue';
import VnLv from 'src/components/ui/VnLv.vue';
import useCardDescription from 'src/composables/useCardDescription';
import VnUserLink from 'src/components/ui/VnUserLink.vue';
import { getUrl } from 'src/composables/getUrl';
import AccountDescriptorMenu from './AccountDescriptorMenu.vue';
import { useSession } from 'src/composables/useSession';
const $props = defineProps({
id: {
@ -20,7 +15,6 @@ const $props = defineProps({
});
const route = useRoute();
const state = useState();
const { t } = useI18n();
const salixUrl = ref();
const { getTokenMultimedia } = useSession();
@ -66,9 +60,6 @@ function getAccountAvatar() {
</QTooltip>
</QBtn>
</template>
<template #menu="{ entity }">
<AccountDescriptorMenu :account="entity" />
</template>
<template #before>
<QImg :src="getAccountAvatar()" class="photo">
<template #error>

View File

@ -29,11 +29,20 @@ account:
setPassword: Set password
disableAccount:
name: Disable account
title: La cuenta será deshabilitada
subtitle: ¿Seguro que quieres continuar?
disableUser: Disable user
sync: Sync
delete: Delete
title: The account will be disabled
subtitle: Are you sure you want to continue?
disableUser:
name: Disable user
title: The user will be disabled
subtitle: Are you sure you want to continue?
sync:
name: Sync
title: The account will be sync
subtitle: Are you sure you want to continue?
delete:
name: Delete
title: The account will be deleted
subtitle: Are you sure you want to continue?
search: Search user
searchInfo: You can search by id, name or nickname
create:

View File

@ -11,23 +11,8 @@ export default {
component: RouterView,
redirect: { name: 'AccountMain' },
menus: {
jsegarra marked this conversation as resolved
Review

Si solo sube account quitamos las otras secciones que estan vacias

Si solo sube account quitamos las otras secciones que estan vacias
main: [
'AccountList',
'AccountRoles',
'AccountAlias',
'AccountAccounts',
'AccountLdap',
'AccountSamba',
'AccountConnections',
],
card: [
'AccountBasicData',
'AccountInheritedRoles',
'AccountMailForwarding',
'AccountMailAlias',
'AccountPrivileges',
'AccountLog',
],
main: ['AccountList'],
card: [],
},
children: [
{