1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-09-16 08:56:19 +02:00

Fix #1034. Update help link. (#1163)

* Fix #1034. Update help link.

* npm test -- -u
This commit is contained in:
Chen-I Lim
2021-09-08 16:49:08 -07:00
committed by GitHub
parent 33f7b246be
commit 7c65953ed9
3 changed files with 18 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ exports[`components/sidebar/GlobalHeader header menu should match snapshot 1`] =
/>
<a
class="GlobalHeaderComponent__button help-button"
href="https://www.focalboard.com/guide/user?utm_source=webapp"
href="https://www.focalboard.com/fwlink/doc-boards.html?v=0.9.0"
rel="noreferrer"
target="_blank"
>

View File

@@ -11,12 +11,16 @@ import {useAppSelector} from '../../store/hooks'
import {getLanguage} from '../../store/language'
import {getMessages} from '../../i18n'
import {Constants} from '../../constants'
import GlobalHeaderSettingsMenu from './globalHeaderSettingsMenu'
import './globalHeader.scss'
const HeaderItems = () => {
const language = useAppSelector<string>(getLanguage)
const helpUrl = 'https://www.focalboard.com/fwlink/doc-boards.html?v=' + Constants.versionString
return (
<IntlProvider
locale={language.split(/[_]/)[0]}
@@ -25,7 +29,7 @@ const HeaderItems = () => {
<div className='GlobalHeaderComponent'>
<span className='spacer'/>
<a
href='https://www.focalboard.com/guide/user?utm_source=webapp'
href={helpUrl}
target='_blank'
rel='noreferrer'
className='GlobalHeaderComponent__button help-button'

View File

@@ -0,0 +1,12 @@
<html>
<head>
<meta http-equiv="refresh" content="0;url=https://docs.mattermost.com/guides/boards.html" />
<title>Page Moved</title>
<script type="text/javascript">
window.location.replace("https://docs.mattermost.com/guides/boards.html");
</script>
</head>
<body>
This page has moved. Click <a href="https://docs.mattermost.com/guides/boards.html">here</a> to go to the new page.
</body>
</html>