diff --git a/www/settings/main.js b/www/settings/main.js
index 64bf15f7b..cee0772b0 100644
--- a/www/settings/main.js
+++ b/www/settings/main.js
@@ -227,6 +227,40 @@ define([
return $div;
};
+ var bytesToMegabytes = function (bytes) {
+ return Math.floor((bytes / (1024 * 1024) * 100)) / 100;
+ };
+
+ var createUsageButton = function (obj) {
+ var proxy = obj.proxy;
+
+ var $div = $('
', { 'class': 'pinned-usage' })
+ .text(Messages.settings_usageTitle)
+ .append('
');
+
+ $('