Commit 10849ccc by Kálmán Viktor

dashboard: fixes for datastore detail

parent cc728f9b
Pipeline #230 passed with stage
in 0 seconds
......@@ -9,7 +9,7 @@ $(function() {
data: {
labels: labels,
datasets: [{
data: data['data'],
data: data.data,
backgroundColor: [
"#57b257",
"#538ccc",
......@@ -26,7 +26,7 @@ $(function() {
tooltips: {
callbacks: {
label: function(item, chartData) {
return data['labels'][item.index] + ": " + data['readable_data'][item.index];
return data.labels[item.index] + ": " + data.readable_data[item.index];
}
}
},
......
......@@ -145,10 +145,10 @@
'>
</div>
<div>
{% trans "Total virtual machine disk usage" %}:
{% trans "Total disk usage of virtual machines" %}:
<strong>{{ stats.vm_actual_size|filesize }}</strong>
<br />
{% trans "Actual virtual machine disk usage" %}:
{% trans "Total virtual disk usage of virtual machines" %}:
<strong>{{ stats.vm_size|filesize}}</strong>
</div>
</div><!-- .panel-body -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment