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

View file

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