mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-22 11:01:54 +03:00
Add privacy policy link to Help & Support side panel (#6221)
Signed-off-by: Abigail Dawson <abigaildawson.dev@gmail.com>
This commit is contained in:
parent
486ef0dc03
commit
3d42ba4e96
@ -1,6 +1,7 @@
|
||||
{
|
||||
"string": {
|
||||
"ContactUs": "Contact us",
|
||||
"ReportBug": "Report a Bug?"
|
||||
"ReportBug": "Report a Bug?",
|
||||
"PrivacyPolicy": "Privacy Policy"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"string": {
|
||||
"ContactUs": "Contacta con Nosotros",
|
||||
"ReportBug": "Reportar un error?"
|
||||
"ReportBug": "Reportar un error?",
|
||||
"PrivacyPolicy": "Política de Privacidad"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"string": {
|
||||
"ContactUs": "Contactez nous",
|
||||
"ReportBug": "Rapporter un bug?"
|
||||
"ReportBug": "Rapporter un bug?",
|
||||
"PrivacyPolicy": "Politique de Confidentialité"
|
||||
}
|
||||
}
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"string": {
|
||||
"ContactUs": "Contate-nos",
|
||||
"ReportBug": "Reportar um erro?"
|
||||
"ReportBug": "Reportar um erro?",
|
||||
"PrivacyPolicy": "Política de Privacidade"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"string": {
|
||||
"ContactUs": "Связаться с нами",
|
||||
"ReportBug": "Сообщить об ошибке?"
|
||||
"ReportBug": "Сообщить об ошибке?",
|
||||
"PrivacyPolicy": "Политика конфиденциальности"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"string": {
|
||||
"ContactUs": "联系我们",
|
||||
"ReportBug": "报告错误?"
|
||||
"ReportBug": "报告错误?",
|
||||
"PrivacyPolicy": "隐私政策"
|
||||
}
|
||||
}
|
||||
|
@ -24,6 +24,7 @@ export { deleteSupportConversation, updateSupportConversation } from './utils'
|
||||
export const supportLink = 'https://join.slack.com/t/hulycommunity/shared_invite/zt-2cyrevz8g-AGqEDZNsujbn4wHOWd7myg'
|
||||
export const reportBugLink = 'https://github.com/hcengineering/platform/issues/new'
|
||||
export const docsLink = 'http://docs.huly.io/'
|
||||
export const privacyPolicyLink = 'https://v1.huly.io/legal/privacy/'
|
||||
|
||||
/**
|
||||
* @public
|
||||
@ -43,6 +44,7 @@ export default plugin(supportId, {
|
||||
},
|
||||
string: {
|
||||
ContactUs: '' as IntlString,
|
||||
ReportBug: '' as IntlString
|
||||
ReportBug: '' as IntlString,
|
||||
PrivacyPolicy: '' as IntlString
|
||||
}
|
||||
})
|
||||
|
@ -16,7 +16,7 @@
|
||||
import { Asset, IntlString } from '@hcengineering/platform'
|
||||
import { getClient } from '@hcengineering/presentation'
|
||||
import setting, { settingId } from '@hcengineering/setting'
|
||||
import support, { docsLink, reportBugLink, supportLink } from '@hcengineering/support'
|
||||
import support, { docsLink, reportBugLink, supportLink, privacyPolicyLink } from '@hcengineering/support'
|
||||
import {
|
||||
AnySvelteComponent,
|
||||
Button,
|
||||
@ -199,6 +199,9 @@
|
||||
</Scroller>
|
||||
{/if}
|
||||
<div class="footer">
|
||||
<a href={privacyPolicyLink} target="_blank">
|
||||
<Button id="privacy-policy" kind={'ghost'} label={support.string.PrivacyPolicy} stopPropagation={false} />
|
||||
</a>
|
||||
<a href={reportBugLink} target="_blank">
|
||||
<Button id="report-a-bug" kind={'primary'} label={support.string.ReportBug} stopPropagation={false} />
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user