diff --git a/src/pages/Account/AccountAliasList.vue b/src/pages/Account/AccountAliasList.vue deleted file mode 100644 index 896804484..000000000 --- a/src/pages/Account/AccountAliasList.vue +++ /dev/null @@ -1,106 +0,0 @@ - - - diff --git a/src/pages/Account/AccountConnections.vue b/src/pages/Account/AccountConnections.vue new file mode 100644 index 000000000..931c925ce --- /dev/null +++ b/src/pages/Account/AccountConnections.vue @@ -0,0 +1,112 @@ + + + + + +es: + Session killed: Sesión matada + Session will be killed: Se va a matar la sesión + Are you sure you want to continue?: ¿Seguro que quieres continuar? + diff --git a/src/pages/Account/Alias/AliasCreateForm.vue b/src/pages/Account/Alias/AliasCreateForm.vue deleted file mode 100644 index d4d61a804..000000000 --- a/src/pages/Account/Alias/AliasCreateForm.vue +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - es: - Create alias: Crear alias - diff --git a/src/pages/Account/Alias/Card/AliasBasicData.vue b/src/pages/Account/Alias/Card/AliasBasicData.vue deleted file mode 100644 index 5d8062739..000000000 --- a/src/pages/Account/Alias/Card/AliasBasicData.vue +++ /dev/null @@ -1,36 +0,0 @@ - - - diff --git a/src/pages/Account/Alias/Card/AliasCard.vue b/src/pages/Account/Alias/Card/AliasCard.vue deleted file mode 100644 index 8b6c9c3cf..000000000 --- a/src/pages/Account/Alias/Card/AliasCard.vue +++ /dev/null @@ -1,32 +0,0 @@ - - - diff --git a/src/pages/Account/Alias/Card/AliasDescriptor.vue b/src/pages/Account/Alias/Card/AliasDescriptor.vue deleted file mode 100644 index bc174aa0e..000000000 --- a/src/pages/Account/Alias/Card/AliasDescriptor.vue +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - en: - accountRate: Claming rate - es: - accountRate: Ratio de reclamación - Delete: Eliminar - Alias will be removed: El alias será eliminado - Are you sure you want to continue?: ¿Seguro que quieres continuar? - Alias removed: Alias eliminado - diff --git a/src/pages/Account/Alias/Card/AliasSummary.vue b/src/pages/Account/Alias/Card/AliasSummary.vue deleted file mode 100644 index cedae28b7..000000000 --- a/src/pages/Account/Alias/Card/AliasSummary.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - diff --git a/src/pages/Account/Alias/Card/AliasUsers.vue b/src/pages/Account/Alias/Card/AliasUsers.vue deleted file mode 100644 index 4a9c449e4..000000000 --- a/src/pages/Account/Alias/Card/AliasUsers.vue +++ /dev/null @@ -1,122 +0,0 @@ - - - - - -es: - User will be removed from alias: El usuario será borrado del alias - Are you sure you want to continue?: ¿Seguro que quieres continuar? - User removed: Usuario borrado - Delete: Eliminar - diff --git a/src/pages/Account/locale/en.yml b/src/pages/Account/locale/en.yml index d90b3a383..aabe41ad8 100644 --- a/src/pages/Account/locale/en.yml +++ b/src/pages/Account/locale/en.yml @@ -41,17 +41,6 @@ role: description: Description id: Id 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 - isPublic: Public ldap: enableSync: Enable synchronization server: Server @@ -73,3 +62,8 @@ samba: verifyCertificate: Verify certificate testConnection: Test connection success: Samba connection established! +connections: + refresh: Refresh + username: Username + created: Created + killSession: Kill session diff --git a/src/pages/Account/locale/es.yml b/src/pages/Account/locale/es.yml index e0a6cf29f..9018a34c4 100644 --- a/src/pages/Account/locale/es.yml +++ b/src/pages/Account/locale/es.yml @@ -52,17 +52,6 @@ role: description: Descripción id: Idd 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 - isPublic: Público ldap: enableSync: Habilitar sincronización server: Servidor @@ -83,3 +72,8 @@ samba: Verify certificate: Verificar certificado testConnection: Probar conexión success: ¡Conexión con Samba establecida! +connections: + refresh: Actualizar + username: Nombre de usuario + created: Creado + killSession: Matar sesión diff --git a/src/router/modules/account.js b/src/router/modules/account.js index e13215afc..b78e1a191 100644 --- a/src/router/modules/account.js +++ b/src/router/modules/account.js @@ -11,7 +11,7 @@ export default { component: RouterView, redirect: { name: 'AccountMain' }, menus: { - main: ['AccountList', 'AccountAliasList'], + main: ['AccountList', 'AccountConnections'], card: [], }, children: [ @@ -31,13 +31,13 @@ export default { component: () => import('src/pages/Account/AccountList.vue'), }, { - path: 'alias-list', - name: 'AccountAliasList', + path: 'connections', + name: 'AccountConnections', meta: { - title: 'alias', - icon: 'email', + title: 'connections', + icon: 'check', }, - component: () => import('src/pages/Account/AccountAliasList.vue'), + component: () => import('src/pages/Account/AccountConnections.vue'), }, ], }, diff --git a/src/router/modules/index.js b/src/router/modules/index.js index d69098a58..ca60c78d8 100644 --- a/src/router/modules/index.js +++ b/src/router/modules/index.js @@ -13,7 +13,6 @@ import Travel from './travel'; import Order from './order'; import Department from './department'; import Role from './role'; -import mailAlias from './mailAlias'; import Entry from './entry'; import roadmap from './roadmap'; import Parking from './parking'; @@ -39,7 +38,6 @@ export default [ invoiceIn, Department, Role, - mailAlias, Entry, roadmap, Parking, diff --git a/src/router/modules/mailAlias.js b/src/router/modules/mailAlias.js deleted file mode 100644 index 8e0f8abdc..000000000 --- a/src/router/modules/mailAlias.js +++ /dev/null @@ -1,57 +0,0 @@ -import { RouterView } from 'vue-router'; - -export default { - path: 'account/alias', - name: 'Alias', - meta: { - title: 'alias', - icon: 'email', - moduleName: 'Alias', - }, - component: RouterView, - redirect: { name: 'AccountAliasList' }, - menus: { - main: [], - card: ['AliasBasicData', 'AliasUsers'], - }, - children: [ - { - name: 'AliasCard', - path: ':id', - component: () => import('src/pages/Account/Alias/Card/AliasCard.vue'), - redirect: { name: 'AliasSummary' }, - children: [ - { - name: 'AliasSummary', - path: 'summary', - meta: { - title: 'summary', - icon: 'launch', - }, - component: () => - import('src/pages/Account/Alias/Card/AliasSummary.vue'), - }, - { - name: 'AliasBasicData', - path: 'basic-data', - meta: { - title: 'basicData', - icon: 'vn:settings', - }, - component: () => - import('src/pages/Account/Alias/Card/AliasBasicData.vue'), - }, - { - name: 'AliasUsers', - path: 'users', - meta: { - title: 'aliasUsers', - icon: 'group', - }, - component: () => - import('src/pages/Account/Alias/Card/AliasUsers.vue'), - }, - ], - }, - ], -}; diff --git a/src/router/routes.js b/src/router/routes.js index 9d3dc8710..60cc24a75 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -11,7 +11,6 @@ import route from './modules/route'; import travel from './modules/travel'; import department from './modules/department'; import role from './modules/role'; -import mailAlias from './modules/mailAlias'; import ItemType from './modules/itemType'; import shelving from 'src/router/modules/shelving'; import order from 'src/router/modules/order'; @@ -77,7 +76,6 @@ const routes = [ travel, department, role, - mailAlias, roadmap, entry, parking,