Add Google API Services User Data Policy link (#5326)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2024-04-12 10:54:41 +05:00 committed by GitHub
parent 7b1ea0d3e5
commit b7ab71c9a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 27 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -84,6 +84,7 @@
"Public": "Visible to everyone",
"FreeBusy": "FreeBusy",
"DefaultVisibility": "Default visibility",
"NotAllPermissions": "Not all permissions were granted"
"NotAllPermissions": "Not all permissions were granted",
"GooglePrivacy": "Hulys use and transfer of information received from Google APIs to any other app will adhere to <a href=\"https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes\" target=\"_blank\">Google API Services User Data Policy</a>, including the Limited Use requirements."
}
}

View File

@ -84,6 +84,7 @@
"Public": "Visible para todos",
"FreeBusy": "Disponible/Ocupado",
"DefaultVisibility": "Visibilidad predeterminada",
"NotAllPermissions": "No se concedieron todos los permisos"
"NotAllPermissions": "No se concedieron todos los permisos",
"GooglePrivacy": "Hulys use and transfer of information received from Google APIs to any other app will adhere to <a href=\"https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes\" target=\"_blank\">Google API Services User Data Policy</a>, including the Limited Use requirements."
}
}

View File

@ -84,6 +84,7 @@
"Public": "Visível para todos",
"FreeBusy": "Ocupado/Livre",
"DefaultVisibility": "Visibilidade padrão",
"NotAllPermissions": "Não foram concedidas todas as permissões"
"NotAllPermissions": "Não foram concedidas todas as permissões",
"GooglePrivacy": "Hulys use and transfer of information received from Google APIs to any other app will adhere to <a href=\"https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes\" target=\"_blank\">Google API Services User Data Policy</a>, including the Limited Use requirements."
}
}

View File

@ -84,6 +84,7 @@
"Public": "Видно всем",
"FreeBusy": "Скрыть детали",
"DefaultVisibility": "Видимость по умолчанию",
"NotAllPermissions": "Были предоставлены не все разрешения"
"NotAllPermissions": "Были предоставлены не все разрешения",
"GooglePrivacy": "Использование и передача информации, полученной Huly от Google API, будет соответствовать <a href=\"https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes\" target=\"_blank\">Политике использования данных пользователей Google API</a>, включая требования ограниченного использования."
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -13,8 +13,8 @@
// limitations under the License.
-->
<script lang="ts">
import { getMetadata } from '@hcengineering/platform'
import { Button, IconClose, Label } from '@hcengineering/ui'
import { getMetadata, translate } from '@hcengineering/platform'
import { Button, IconClose, Label, themeStore } from '@hcengineering/ui'
import { createEventDispatcher } from 'svelte'
import calendar from '../plugin'
import { concatLink } from '@hcengineering/core'
@ -45,6 +45,12 @@
window.open(redirectTo, '_blank', 'location=yes,height=870,width=720,scrollbars=yes,status=yes')
dispatch('close')
}
let label = ''
$: translate(calendar.string.GooglePrivacy, {}, $themeStore.language).then((res) => {
label = res
})
</script>
<div class="card">
@ -62,7 +68,13 @@
</div>
</div>
<div class="content">
<Label label={calendar.string.RedirectGoogle} />
<div>
<Label label={calendar.string.RedirectGoogle} />
</div>
<div class="mt-2">
{@html label}
</div>
<img class="image" src={getMetadata(calendar.image.Permissions)} alt="" />
<div class="footer">
<Button label={calendar.string.Connect} kind={'primary'} disabled={connecting} on:click={sendRequest} />
@ -100,14 +112,14 @@
.content {
flex-shrink: 0;
flex-grow: 1;
height: fit-content;
color: var(--theme-content-color);
margin: 0 1.75rem 0.5rem;
}
.image {
width: 100%;
height: auto;
margin: 1rem;
margin-top: 2rem;
}
.footer {

View File

@ -76,6 +76,7 @@ export default mergeIds(calendarId, calendar, {
AddReminder: '' as IntlString,
SeeAllNumberParticipants: '' as IntlString,
SeeAllNumberReminders: '' as IntlString,
DefaultVisibility: '' as IntlString
DefaultVisibility: '' as IntlString,
GooglePrivacy: '' as IntlString
}
})