diff --git a/frontend/components/admin/AdminZimbraTab.vue b/frontend/components/admin/AdminZimbraTab.vue new file mode 100644 index 0000000..1f3b6e0 --- /dev/null +++ b/frontend/components/admin/AdminZimbraTab.vue @@ -0,0 +1,124 @@ + + + {{ $t('zimbra.settings.title') }} + + + + + + + + + {{ $t('zimbra.settings.passwordConfigured') }} + + + + + {{ $t('zimbra.settings.enabled') }} + + + + {{ $t('zimbra.settings.save') }} + + + {{ $t('zimbra.settings.testConnection') }} + + + + {{ testResult ? $t('zimbra.settings.testSuccess') : $t('zimbra.settings.testFailed') }} + + + + + + diff --git a/frontend/pages/admin.vue b/frontend/pages/admin.vue index a26fceb..12b3684 100644 --- a/frontend/pages/admin.vue +++ b/frontend/pages/admin.vue @@ -29,6 +29,7 @@ + @@ -46,6 +47,7 @@ const tabs = [ { key: 'users', label: 'Utilisateurs' }, { key: 'gitea', label: 'Gitea' }, { key: 'bookstack', label: 'BookStack' }, + { key: 'zimbra', label: 'Zimbra' }, ] as const type TabKey = typeof tabs[number]['key']
+ {{ $t('zimbra.settings.passwordConfigured') }} +
+ {{ testResult ? $t('zimbra.settings.testSuccess') : $t('zimbra.settings.testFailed') }} +