You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-09-16 08:56:19 +02:00
* Fix #1034. Update help link. * npm test -- -u
This commit is contained in:
@@ -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"
|
||||
>
|
||||
|
@@ -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'
|
||||
|
12
website/site/content/fwlink/doc-boards.html
Normal file
12
website/site/content/fwlink/doc-boards.html
Normal 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>
|
Reference in New Issue
Block a user