mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-24 13:43:12 +02:00
* Fix #1161. Add Give Feedback link. * Pass version to feedback link * npm run i18n-extract
This commit is contained in:
parent
08db4fed61
commit
33f7b246be
@ -7,6 +7,7 @@
|
||||
"BoardComponent.no-property": "No {property}",
|
||||
"BoardComponent.no-property-title": "Items with an empty {property} property will go here. This column cannot be removed.",
|
||||
"BoardComponent.show": "Show",
|
||||
"BoardPage.syncFailed": "Board may be deleted or access revoked.",
|
||||
"CardDetail.add-content": "Add content",
|
||||
"CardDetail.add-icon": "Add icon",
|
||||
"CardDetail.add-property": "+ Add a property",
|
||||
@ -100,6 +101,7 @@
|
||||
"Sidebar.import-archive": "Import archive",
|
||||
"Sidebar.invite-users": "Invite Users",
|
||||
"Sidebar.logout": "Log out",
|
||||
"Sidebar.no-more-workspaces": "No more workspaces",
|
||||
"Sidebar.no-views-in-board": "No pages inside",
|
||||
"Sidebar.random-icons": "Random icons",
|
||||
"Sidebar.select-a-template": "Select a template",
|
||||
@ -110,7 +112,6 @@
|
||||
"Sidebar.untitled": "Untitled",
|
||||
"Sidebar.untitled-board": "(Untitled Board)",
|
||||
"Sidebar.untitled-view": "(Untitled View)",
|
||||
"Sidebar.no-more-workspaces": "No more workspaces",
|
||||
"TableComponent.add-icon": "Add icon",
|
||||
"TableComponent.name": "Name",
|
||||
"TableComponent.plus-new": "+ New",
|
||||
@ -122,6 +123,7 @@
|
||||
"TableHeaderMenu.sort-ascending": "Sort ascending",
|
||||
"TableHeaderMenu.sort-descending": "Sort descending",
|
||||
"TableRow.open": "Open",
|
||||
"TopBar.give-feedback": "Give Feedback",
|
||||
"ValueSelector.valueSelector": "Value selector",
|
||||
"ValueSelectorLabel.openMenu": "Open Menu",
|
||||
"View.AddView": "Add View",
|
||||
@ -165,4 +167,4 @@
|
||||
"login.register-button": "or create an account if you don't have one",
|
||||
"register.login-button": "or login if you already have an account",
|
||||
"register.signup-title": "Sign up for your account"
|
||||
}
|
||||
}
|
@ -9,11 +9,20 @@
|
||||
|
||||
a {
|
||||
display: flex;
|
||||
padding: 2px 0;
|
||||
align-items: center;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
a.link {
|
||||
font-size: 14px;
|
||||
line-height: 14px;
|
||||
padding: 2px 10px;
|
||||
color: rgba(var(--center-channel-color-rgb), 0.7);
|
||||
}
|
||||
|
||||
.HelpIcon {
|
||||
font-size: 20px;
|
||||
color: rgba(var(--center-channel-color-rgb), 0.7);
|
||||
}
|
||||
|
||||
.versionFrame {
|
||||
@ -24,14 +33,14 @@
|
||||
|
||||
.version {
|
||||
font-size: 11px;
|
||||
line-height: 11px;
|
||||
line-height: 14px;
|
||||
font-weight: 500;
|
||||
color: rgba(var(--center-channel-color-rgb), 0.7);
|
||||
}
|
||||
|
||||
.versionBadge {
|
||||
font-size: 10px;
|
||||
line-height: 11px;
|
||||
line-height: 14px;
|
||||
font-weight: 500;
|
||||
margin-left: 3px;
|
||||
color: rgba(var(--center-channel-color-rgb), 0.7);
|
||||
|
@ -4,16 +4,28 @@
|
||||
import React from 'react'
|
||||
|
||||
import './topBar.scss'
|
||||
import {FormattedMessage} from 'react-intl'
|
||||
|
||||
import HelpIcon from '../widgets/icons/help'
|
||||
import {Utils} from '../utils'
|
||||
import {Constants} from '../constants'
|
||||
|
||||
const TopBar = React.memo((): JSX.Element => {
|
||||
if (Utils.isFocalboardPlugin()) {
|
||||
const feedbackUrl = 'https://www.focalboard.com/fwlink/feedback-boards.html?v=' + Constants.versionString
|
||||
return (
|
||||
<div
|
||||
className='TopBar'
|
||||
>
|
||||
<a
|
||||
className='link'
|
||||
href={feedbackUrl}
|
||||
>
|
||||
<FormattedMessage
|
||||
id='TopBar.give-feedback'
|
||||
defaultMessage='Give Feedback'
|
||||
/>
|
||||
</a>
|
||||
<div className='versionFrame'>
|
||||
<div className='version'>
|
||||
{`v${Constants.versionString}`}
|
||||
@ -24,10 +36,20 @@ const TopBar = React.memo((): JSX.Element => {
|
||||
)
|
||||
}
|
||||
|
||||
const focalboardFeedbackUrl = 'https://www.focalboard.com/fwlink/feedback-focalboard.html?v=' + Constants.versionString
|
||||
return (
|
||||
<div
|
||||
className='TopBar'
|
||||
>
|
||||
<a
|
||||
className='link'
|
||||
href={focalboardFeedbackUrl}
|
||||
>
|
||||
<FormattedMessage
|
||||
id='TopBar.give-feedback'
|
||||
defaultMessage='Give Feedback'
|
||||
/>
|
||||
</a>
|
||||
<a
|
||||
href='https://www.focalboard.com/guide/user?utm_source=webapp'
|
||||
target='_blank'
|
||||
|
12
website/site/content/fwlink/feedback-boards.html
Normal file
12
website/site/content/fwlink/feedback-boards.html
Normal file
@ -0,0 +1,12 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;url=https://docs.google.com/forms/d/e/1FAIpQLSfNLwUsG6zazDYxt_fgCV-ThH5_R9ycPTTgRTJ1DVnXuuyD7Q/viewform" />
|
||||
<title>Page Moved</title>
|
||||
<script type="text/javascript">
|
||||
window.location.replace("https://docs.google.com/forms/d/e/1FAIpQLSfNLwUsG6zazDYxt_fgCV-ThH5_R9ycPTTgRTJ1DVnXuuyD7Q/viewform");
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
This page has moved. Click <a href="https://docs.google.com/forms/d/e/1FAIpQLSfNLwUsG6zazDYxt_fgCV-ThH5_R9ycPTTgRTJ1DVnXuuyD7Q/viewform">here</a> to go to the new page.
|
||||
</body>
|
||||
</html>
|
12
website/site/content/fwlink/feedback-focalboard.html
Normal file
12
website/site/content/fwlink/feedback-focalboard.html
Normal file
@ -0,0 +1,12 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;url=https://docs.google.com/forms/d/e/1FAIpQLSdTq7M69Pdlz71CwucaSEG0FCK1M_WRvIbZbPr2imfT2QvUCQ/viewform" />
|
||||
<title>Page Moved</title>
|
||||
<script type="text/javascript">
|
||||
window.location.replace("https://docs.google.com/forms/d/e/1FAIpQLSdTq7M69Pdlz71CwucaSEG0FCK1M_WRvIbZbPr2imfT2QvUCQ/viewform");
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
This page has moved. Click <a href="https://docs.google.com/forms/d/e/1FAIpQLSdTq7M69Pdlz71CwucaSEG0FCK1M_WRvIbZbPr2imfT2QvUCQ/viewform">here</a> to go to the new page.
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user