From 958294f1092a4c6028ffe55238f85abb81cb4bdb Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 11 Aug 2017 13:00:50 +0200 Subject: [PATCH] put code settings in their own tab --- customize.dist/translations/messages.js | 1 + www/settings/main.js | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js index 482008d59..dfc404bcf 100644 --- a/customize.dist/translations/messages.js +++ b/customize.dist/translations/messages.js @@ -422,6 +422,7 @@ define(function () { // Settings out.settings_cat_account = "Account"; out.settings_cat_drive = "CryptDrive"; + out.settings_cat_code = "Code"; out.settings_title = "Settings"; out.settings_save = "Save"; diff --git a/www/settings/main.js b/www/settings/main.js index e48371212..24978bf50 100644 --- a/www/settings/main.js +++ b/www/settings/main.js @@ -39,7 +39,6 @@ define([ 'account': [ 'infoBlock', 'displayName', - 'indentUnit', 'languageSelector', 'logoutEverywhere', 'resetTips', @@ -49,6 +48,9 @@ define([ 'backupDrive', 'importLocalPads', 'resetDrive' + ], + 'code': [ + 'indentUnit', ] }; @@ -379,6 +381,7 @@ define([ var $category = $('
', {'class': 'category'}).appendTo($categories); if (key === 'account') { $category.append($('', {'class': 'fa fa-user-o'})); } if (key === 'drive') { $category.append($('', {'class': 'fa fa-hdd-o'})); } + if (key === 'code') { $category.append($('', {'class': 'fa fa-file-code-o' })); } if (key === active) { $category.addClass('active');