diff --git a/src/js/yunohost/controllers/tools.js b/src/js/yunohost/controllers/tools.js index 752d3740..dad87a23 100644 --- a/src/js/yunohost/controllers/tools.js +++ b/src/js/yunohost/controllers/tools.js @@ -95,7 +95,7 @@ ); } }); - + // Upgrade a specific apps app.get('#/upgrade/apps/:app', function (c) { c.confirm( @@ -197,15 +197,15 @@ c.redirect('#/logout'); }, 'PUT', {}, false, function (xhr) { c.flash('success', y18n.t('tools_' + action + '_done')) - // Disconnect from the webadmin + // Disconnect from the webadmin store.clear('url'); store.clear('connected'); store.set('path', '#/'); - + // Rename the page to allow refresh without ask for rebooting window.location.href = window.location.href.split('#')[0] + '#/'; // Display reboot or shutdown info - // We can't use template because now the webserver is off + // We can't use template because now the webserver is off if (action == 'reboot') { $('#main').replaceWith('
+ {{ description }} +
+ {{#if disclaimer }} ++ {{{ disclaimer }}} +
+ {{ description }} +
+