Merge pull request #180 from Razzeee/get-help

Added a "Mattermost docs" link to the Help section
This commit is contained in:
Yuya Ochiai 2016-07-04 21:08:36 +09:00 committed by GitHub
commit 2ca5b0b598
3 changed files with 9 additions and 0 deletions

View file

@ -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

View file

@ -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

View file

@ -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
}, ]