From 9cba16e0d033dfb3806d92997c6e502b5aed82e5 Mon Sep 17 00:00:00 2001
From: Michael Pimmer
Date: Wed, 14 Nov 2018 16:30:40 +0000
Subject: [PATCH] Backups: minor adaption of upload file size warning
Reviewed-by: James Valleroy
---
plinth/modules/backups/templates/backups_upload.html | 8 +++++---
plinth/modules/backups/views.py | 11 +++++++++--
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/plinth/modules/backups/templates/backups_upload.html b/plinth/modules/backups/templates/backups_upload.html
index 51a6a8efb..c82d108df 100644
--- a/plinth/modules/backups/templates/backups_upload.html
+++ b/plinth/modules/backups/templates/backups_upload.html
@@ -32,9 +32,11 @@
You can choose the apps you wish to import after uploading a backup file.
{% endblocktrans %}
-
- {% trans "Free disk space" %}: {{ free_space }}
- {% trans "Make sure the uploaded file is smaller than that." %}
+
+ {% blocktrans trimmed %}
+ WARNING: You have {{ max_filesize }} available to restore a backup.
+ Exceeding this limit can leave your {{ box_name }} unusable.
+ {% endblocktrans %}