diff --git a/app/frontend/templates/panel/dashboard.html b/app/frontend/templates/panel/dashboard.html index f5b18f05..88c9a821 100644 --- a/app/frontend/templates/panel/dashboard.html +++ b/app/frontend/templates/panel/dashboard.html @@ -102,8 +102,11 @@
-
Storage + {% if len(data["monitored"]) > 0 %} +
{{ translate('dashboard', 'storage', + data['lang']) }}
+ {% end %}
{% for item in data['hosts_data']['disk_json'] %} diff --git a/app/translations/en_EN.json b/app/translations/en_EN.json index 6db96dfc..78e012a7 100644 --- a/app/translations/en_EN.json +++ b/app/translations/en_EN.json @@ -111,6 +111,7 @@ "starting": "Delayed-Start", "status": "Status", "stop": "Stop", + "storage": "Storage", "version": "Version", "welcome": "Welcome to Crafty Controller" }, @@ -655,4 +656,4 @@ "webhook_body": "Webhook Body", "webhooks": "Webhooks" } -} +} \ No newline at end of file