fix(#2428): fix show terms and change phrase in confirm popup

keep-around/bb75dd1c73b58d0f55b380f9529e5f59371d068c
Andrei Dekterev 4 years ago
parent caa148e391
commit c92e9f42a3
  1. 1591
      public/clients/instat/privacy-policy-and-statement.html
  2. 4491
      public/clients/instat/terms-and-conditions.html
  3. 3
      src/config/lexics/indexLexics.tsx
  4. 2
      src/config/lexics/userAccount.tsx
  5. 10
      src/features/AuthServiceApp/components/ConfirmPopup/index.tsx
  6. 6
      src/features/AuthServiceApp/components/ConfirmPopup/styled.tsx
  7. 1
      src/features/AuthServiceApp/config/lexics.tsx

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -95,6 +95,7 @@ export const indexLexics = {
all_competitions: 17926, all_competitions: 17926,
all_matches_shown: 13386, all_matches_shown: 13386,
all_sports: 13824, all_sports: 13824,
and: 17878,
available_matches_shown: 13385, available_matches_shown: 13385,
basketball: 6960, basketball: 6960,
broadcast: 13049, broadcast: 13049,
@ -134,12 +135,14 @@ export const indexLexics = {
no_match_access_title: 13418, no_match_access_title: 13418,
player: 14975, player: 14975,
players_video: 13032, players_video: 13032,
privacy_policy_and_statement: 15404,
round_highilights: 13050, round_highilights: 13050,
save: 828, save: 828,
scores: 14070, scores: 14070,
search_results: 9014, search_results: 9014,
sport: 12993, sport: 12993,
team: 14973, team: 14973,
terms_and_conditions: 15738,
to_home: 13376, to_home: 13376,
tournament: 14974, tournament: 14974,
upcoming: 17925, upcoming: 17925,

@ -28,7 +28,6 @@ export const userAccountLexics = {
payment: 13015, payment: 13015,
payment_info: 15059, payment_info: 15059,
phone: 1656, phone: 1656,
privacy_policy_and_statement: 15404,
remove: 848, remove: 848,
save_changes: 13017, save_changes: 13017,
select_subscription: 12583, select_subscription: 12583,
@ -36,7 +35,6 @@ export const userAccountLexics = {
subscriptions: 13016, subscriptions: 13016,
subscriptions_active: 15061, subscriptions_active: 15061,
subscriptions_removed: 15062, subscriptions_removed: 15062,
terms_and_conditions: 15738,
user_account: 12928, user_account: 12928,
...navigations, ...navigations,
...publicLexics, ...publicLexics,

@ -1,11 +1,14 @@
import { T9n } from 'features/T9n' import { T9n } from 'features/T9n'
import { client } from 'features/AuthServiceApp/config/clients'
import { import {
ScBody, ScBody,
Modal, Modal,
ScApplyButton, ScApplyButton,
ScHeaderTitle, ScHeaderTitle,
ScText, ScText,
ScLink,
} from './styled' } from './styled'
import { import {
@ -36,6 +39,13 @@ export const ConfirmPopup = (props: Props) => {
<ScBody> <ScBody>
<ScText> <ScText>
<T9n t='updated_terms' /> <T9n t='updated_terms' />
<ScLink href={client.termsLink} target='_blank'>
<T9n t='terms_and_conditions' />
</ScLink>&nbsp;
<T9n t='and' />
<ScLink href={client.privacyLink} target='_blank'>
<T9n t='privacy_policy_and_statement' />
</ScLink>
</ScText> </ScText>
</ScBody> </ScBody>
<Footer> <Footer>

@ -59,3 +59,9 @@ export const ScApplyButton = styled(ApplyButton)`
` `
: ''}; : ''};
` `
export const ScLink = styled.a`
color: ${({ theme }) => theme.colors.text100};
text-decoration: underline;
margin-left: 6px;
`

@ -1,7 +1,6 @@
export const lexics = { export const lexics = {
accept_cookies: 17203, accept_cookies: 17203,
accept_privacy: 17202, accept_privacy: 17202,
and: 17878,
change_password: 13442, change_password: 13442,
check_email: 15907, check_email: 15907,
check_password: 15842, check_password: 15842,

Loading…
Cancel
Save