@ -1112,6 +1112,9 @@ define([
if (apps[type]) {
href = "https://docs.cryptpad.fr/en/user_guide/apps/" + apps[type] + ".html";
}
if (type === 'drive') {
href = "https://docs.cryptpad.fr/en/user_guide/drive.html";
href = Pages.localizeDocsLink(href);
var content = setHTML(h('p'), Messages.help_genericMore);
@ -218,6 +218,11 @@ define([
};
var toolbar = Toolbar.create(configTb);
var helpMenu = common.createHelpMenu(['drive']);
APP.help = helpMenu.menu;
$('#cp-app-drive-content-container').prepend(helpMenu.menu);
var $displayName = APP.$bar.find('.' + Toolbar.constants.username);
metadataMgr.onChange(function () {
var name = metadataMgr.getUserData().name || Messages.anonymous;