mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 09:45:28 +01:00
Add storage translation to dash
Remote "storage" label if no mounts selected
This commit is contained in:
parent
52f90f1ee3
commit
304da0da8a
@ -102,8 +102,11 @@
|
||||
<div class="col-12 mt-4">
|
||||
<div class="d-flex">
|
||||
<div class="wrapper" style="width: 100%;">
|
||||
<h5 class="mb-1 font-weight-medium text-primary">Storage
|
||||
{% if len(data["monitored"]) > 0 %}
|
||||
<h5 class="mb-1 font-weight-medium text-primary">{{ translate('dashboard', 'storage',
|
||||
data['lang']) }}
|
||||
</h5>
|
||||
{% end %}
|
||||
<div id="storage_data">
|
||||
<div class="row">
|
||||
{% for item in data['hosts_data']['disk_json'] %}
|
||||
|
@ -111,6 +111,7 @@
|
||||
"starting": "Delayed-Start",
|
||||
"status": "Status",
|
||||
"stop": "Stop",
|
||||
"storage": "Storage",
|
||||
"version": "Version",
|
||||
"welcome": "Welcome to Crafty Controller"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user