Merge pull request #180 from Razzeee/get-help
Added a "Mattermost docs" link to the Help section
This commit is contained in:
commit
2ca5b0b598
|
@ -31,6 +31,7 @@
|
|||
- Added **Add** button next to the "Teams" label on the Setting page.
|
||||
- Added **Edit** button on the team list on the Setting page.
|
||||
- Added **Help** menu to indicate the application version.
|
||||
- Added **Mattermost Docs** menu item under **Help** linking to the mattermost docs.
|
||||
- Added auto-reloading when the tab failed to load the team.
|
||||
|
||||
#### Windows
|
||||
|
|
|
@ -158,6 +158,7 @@ Below lists menu options (shortcut keys are listed in brackets, `Ctrl` becomes `
|
|||
- **Select Next Team** (Ctrl+Tab, Alt+Command+Right) - Open the right tab
|
||||
- **Select Previous Team** (Ctrl+Shift+Tab, Alt+Command+Left) - Open the left tab
|
||||
- **Help**
|
||||
- ***Mattermost Docs*** Links to the official mattermost documentation
|
||||
- ***Version*** Indicate the application version
|
||||
|
||||
|
||||
|
|
|
@ -224,6 +224,13 @@ var createTemplate = function(mainWindow, config) {
|
|||
template.push({
|
||||
label: '&Help',
|
||||
submenu: [{
|
||||
label: `${app_name} Docs`,
|
||||
click: function() {
|
||||
electron.shell.openExternal('http://docs.mattermost.com')
|
||||
}
|
||||
}, {
|
||||
type: 'separator'
|
||||
}, {
|
||||
label: `Version ${electron.app.getVersion()}`,
|
||||
enabled: false
|
||||
}, ]
|
||||
|
|
Loading…
Reference in a new issue