Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/serverinfo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorNoodlesalat <nudelsalat@clouz.de>2018-07-16 23:49:42 +0300
committerNoodlesalat <nudelsalat@clouz.de>2018-07-16 23:49:42 +0300
commit920c37b3ca93c525e8bdb1204052d3530d7b735a (patch)
tree72b7e36e5baf1da0647fb912b68c6c8f02161fe7 /js
parente53500d4b87867ee2ab043aae2366700562b2ba8 (diff)
Add RAM tag for better understanding
Signed-off-by: Fabian Dreßler <nudelsalat@clouz.de>
Diffstat (limited to 'js')
-rw-r--r--js/script.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/script.js b/js/script.js
index d9b3519..87e1acf 100644
--- a/js/script.js
+++ b/js/script.js
@@ -115,9 +115,9 @@
memoryUsageChart.addTimeSeries(swapUsageLine, {lineWidth:1, strokeStyle:'rgb(255, 0, 0)', fillStyle:'rgba(255, 0, 0, 0.2)'});
}
- $('#memFooterInfo').text(t('serverinfo', 'Total')+": "+OC.Util.humanFileSize(memTotalBytes)+" - "+t('serverinfo', 'Current usage')+": "+OC.Util.humanFileSize(memUsageBytes));
+ $('#memFooterInfo').text("RAM: "+t('serverinfo', 'Total')+": "+OC.Util.humanFileSize(memTotalBytes)+" - "+t('serverinfo', 'Current usage')+": "+OC.Util.humanFileSize(memUsageBytes));
memoryUsageLine.append(new Date().getTime(), memUsageGB);
- $('#swapFooterInfo').text("SWAP "+t('serverinfo', 'Total')+": "+OC.Util.humanFileSize(swapTotalBytes)+" - "+t('serverinfo', 'Current usage')+": "+OC.Util.humanFileSize(swapUsageBytes));
+ $('#swapFooterInfo').text("SWAP: "+t('serverinfo', 'Total')+": "+OC.Util.humanFileSize(swapTotalBytes)+" - "+t('serverinfo', 'Current usage')+": "+OC.Util.humanFileSize(swapUsageBytes));
swapUsageLine.append(new Date().getTime(), swapUsageGB);
}