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="col-12 mt-4">
|
||||||
<div class="d-flex">
|
<div class="d-flex">
|
||||||
<div class="wrapper" style="width: 100%;">
|
<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>
|
</h5>
|
||||||
|
{% end %}
|
||||||
<div id="storage_data">
|
<div id="storage_data">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{% for item in data['hosts_data']['disk_json'] %}
|
{% for item in data['hosts_data']['disk_json'] %}
|
||||||
|
@ -111,6 +111,7 @@
|
|||||||
"starting": "Delayed-Start",
|
"starting": "Delayed-Start",
|
||||||
"status": "Status",
|
"status": "Status",
|
||||||
"stop": "Stop",
|
"stop": "Stop",
|
||||||
|
"storage": "Storage",
|
||||||
"version": "Version",
|
"version": "Version",
|
||||||
"welcome": "Welcome to Crafty Controller"
|
"welcome": "Welcome to Crafty Controller"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user