diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/components/TermsOfService/views.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/components/TermsOfService/views.tsx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/taler-wallet-webextension/src/components/TermsOfService/views.tsx b/packages/taler-wallet-webextension/src/components/TermsOfService/views.tsx index 4374b4a3b..3e2dfb630 100644 --- a/packages/taler-wallet-webextension/src/components/TermsOfService/views.tsx +++ b/packages/taler-wallet-webextension/src/components/TermsOfService/views.tsx @@ -20,12 +20,14 @@ import { Fragment, h, VNode } from "preact"; import { CheckboxOutlined } from "../../components/CheckboxOutlined.js"; import { ExchangeXmlTos } from "../../components/ExchangeToS.js"; import { + Input, LinkSuccess, TermsOfServiceStyle, WarningBox } from "../../components/styled/index.js"; import { Button } from "../../mui/Button.js"; import { State } from "./index.js"; +import { SelectList } from "../SelectList.js"; export function ShowButtonsAcceptedTosView({ termsAccepted, @@ -119,6 +121,7 @@ export function ShowTosContentView({ termsAccepted, showingTermsOfService, terms, + tosLang, }: State.ShowContent): VNode { const { i18n } = useTranslationContext(); const ableToReviewTermsOfService = @@ -126,6 +129,16 @@ export function ShowTosContentView({ return ( <section> + <Input style={{ display: "flex", justifyContent: "end" }}> + <SelectList + label={i18n.str`Language`} + list={tosLang.list} + name="lang" + value={tosLang.value} + onChange={tosLang.onChange} + /> + </Input> + {!terms.content && ( <section style={{ justifyContent: "space-around", display: "flex" }}> <WarningBox> |