diff --git a/www/settings/inner.js b/www/settings/inner.js index 7de5b7752..23ee3e45e 100644 --- a/www/settings/inner.js +++ b/www/settings/inner.js @@ -117,6 +117,18 @@ define([ var create = {}; + var SPECIAL_HINTS_HANDLER = { + safeLinks: function () { + return $('', {'class': 'cp-sidebarlayout-description'}) + .html(Messages._getKey('settings_safeLinksHint', [''])); + }, + }; + + var DEFAULT_HINT_HANDLER = function (safeKey) { + return $('', {'class': 'cp-sidebarlayout-description'}) + .text(Messages['settings_'+safeKey+'Hint'] || 'Coming soon...'); + }; + var makeBlock = function (key, getter, full) { var safeKey = key.replace(/-([a-z])/g, function (g) { return g[1].toUpperCase(); }); @@ -124,8 +136,14 @@ define([ var $div = $('
', {'class': 'cp-settings-' + key + ' cp-sidebarlayout-element'}); if (full) { $('