1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-11-27 08:31:20 +02:00

About Focalboard

This commit is contained in:
Chen-I Lim 2021-01-28 13:55:51 -08:00
parent de0e317c59
commit 5fd0636809
2 changed files with 16 additions and 1 deletions

View File

@ -74,6 +74,7 @@
"ShareBoard.share": "Publish to web and share this board to anyone",
"ShareBoard.tokenRegenrated": "Token regenerated",
"ShareBoard.unshare": "Anyone with the link can view this board",
"Sidebar.about": "About Focalboard",
"Sidebar.add-board": "+ Add Board",
"Sidebar.add-template": "+ New template",
"Sidebar.changePassword": "Change password",
@ -118,7 +119,6 @@
"ViewHeader.delete-template": "Delete",
"ViewHeader.edit-template": "Edit",
"ViewHeader.empty-card": "Empty card",
"ViewHeader.export-board-archive": "Export board archive",
"ViewHeader.export-csv": "Export to CSV",
"ViewHeader.filter": "Filter",
"ViewHeader.group-by": "Group by: {property}",

View File

@ -397,6 +397,16 @@ class Sidebar extends React.Component<Props, State> {
this.setState({showRegistrationLinkDialog: true})
}}
/>
<Menu.Separator/>
<Menu.Text
id='about'
name={intl.formatMessage({id: 'Sidebar.about', defaultMessage: 'About Focalboard'})}
onClick={async () => {
this.showAbout()
}}
/>
</Menu>
</MenuWrapper>
@ -527,6 +537,11 @@ class Sidebar extends React.Component<Props, State> {
private showClicked = () => {
this.setState({isHidden: false})
}
private showAbout = () => {
const url = 'http://www.focalboard.com?utm_source=webapp'
window.open(url, '_blank')
}
}
export default injectIntl(Sidebar)