1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Move help customisation under menu settings

This commit is contained in:
Nick O'Leary 2015-04-13 15:32:11 +01:00
parent a2aa78afd4
commit 0d557094b2
2 changed files with 2 additions and 7 deletions

View File

@ -166,8 +166,8 @@ var RED = (function() {
null, null,
{id:"btn-keyboard-shortcuts",label:"Keyboard Shortcuts",onselect:RED.keyboard.showHelp}, {id:"btn-keyboard-shortcuts",label:"Keyboard Shortcuts",onselect:RED.keyboard.showHelp},
{id:"btn-help", {id:"btn-help",
label: RED.settings.theme("help.label","Node-RED Website"), label: RED.settings.theme("menu.btn-help.label","Node-RED Website"),
href: RED.settings.theme("help.url","http://nodered.org/docs") href: RED.settings.theme("menu.btn-help.url","http://nodered.org/docs")
} }
] ]
}); });

View File

@ -129,7 +129,6 @@ module.exports = {
if (theme.hasOwnProperty("userMenu")) { if (theme.hasOwnProperty("userMenu")) {
themeSettings.userMenu = theme.userMenu; themeSettings.userMenu = theme.userMenu;
} }
//themeSettings.deployButton = theme.deployButton || themeSettings.deployButton;
if (theme.login) { if (theme.login) {
if (theme.login.image) { if (theme.login.image) {
@ -142,10 +141,6 @@ module.exports = {
} }
} }
if (theme.help) {
themeSettings.help = theme.help;
}
if (theme.hasOwnProperty("menu")) { if (theme.hasOwnProperty("menu")) {
themeSettings.menu = theme.menu; themeSettings.menu = theme.menu;
} }