From 9cb5948b1aaa0e85254fd240788d275758933de9 Mon Sep 17 00:00:00 2001 From: opi Date: Thu, 8 Oct 2015 12:56:26 +0200 Subject: [PATCH] [enh] Cleanup backup views, add backup info. --- src/locales/en.json | 2 + src/locales/fr.json | 2 + src/views/backup/backup.ms | 4 +- src/views/backup/backup_create.ms | 13 +++-- src/views/backup/backup_info.ms | 79 +++++++++++++++++++------------ src/views/backup/backup_list.ms | 6 +-- 6 files changed, 63 insertions(+), 43 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index 48754d2f..bc574c5e 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -245,6 +245,7 @@ "user_mailbox_quota": "Mailbox quota", "mailbox_quota_description": "Mailbox quota must be a size with b/k/M/G/T suffix or 0 to disable the quota.", + "backup_content": "Backup content", "local_archives": "Local archives", "storages_new": "New remote storage", "storages_no": "No storages.", @@ -259,6 +260,7 @@ "backup_create": "Create a backup", "restore": "Restore", "download": "Download", + "created_at": "Created at", "hook_data_home": "User data", "hook_data_home_desc": "User data located in /home/USER", "hook_data_mail": "Mail", diff --git a/src/locales/fr.json b/src/locales/fr.json index 8cecee7a..7bf83a91 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -226,6 +226,7 @@ "user_new_mail": "nouvelle_adresse@domaine.org", "user_new_forward": "nouveau_transfert@domainedistant.org", + "backup_content": "Contenu de la sauvegarde", "local_archives": "Archives locales", "storages_new": "Nouveau stockage distant", "storages_no": "Aucun stockage.", @@ -240,6 +241,7 @@ "backup_create": "Créer une sauvegarde", "restore": "Restaurer", "download": "Télécharger", + "created_at": "Crée le", "hook_data_home": "Données utilisateurs", "hook_data_home_desc": "Les données des utilisateurs situées dans /home/USER", "hook_data_mail": "Mail", diff --git a/src/views/backup/backup.ms b/src/views/backup/backup.ms index d213fe28..c4935d37 100644 --- a/src/views/backup/backup.ms +++ b/src/views/backup/backup.ms @@ -1,8 +1,6 @@ - -
{{t 'home'}} - {{t 'backup'}} + {{t 'backup'}}
diff --git a/src/views/backup/backup_create.ms b/src/views/backup/backup_create.ms index c6ce0d52..5c8a66c0 100644 --- a/src/views/backup/backup_create.ms +++ b/src/views/backup/backup_create.ms @@ -1,9 +1,8 @@ -
@@ -12,20 +11,20 @@
{{#each hooks}} {{/each}} {{#each apps}} {{/each}}
- +