unlink google calendar
parent
ce9fecef3d
commit
07f9240994
|
@ -166,6 +166,11 @@
|
||||||
"title": "Google Kalender nicht verbunden",
|
"title": "Google Kalender nicht verbunden",
|
||||||
"subTitle": "Klicken Sie auf die Schaltfläche unten, um Ihren Google Kalender zu verbinden.",
|
"subTitle": "Klicken Sie auf die Schaltfläche unten, um Ihren Google Kalender zu verbinden.",
|
||||||
"button": "Jetzt verbinden"
|
"button": "Jetzt verbinden"
|
||||||
|
},
|
||||||
|
"unlinkGoogleCalendar": {
|
||||||
|
"title": "Google Kalender trennen",
|
||||||
|
"description": "Möchten Sie die Verbindung zu Ihrem Google Kalender wirklich trennen?",
|
||||||
|
"button": "Google Kalender trennen"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"storeSettings": {
|
"storeSettings": {
|
||||||
|
|
|
@ -169,6 +169,11 @@
|
||||||
"title": "Google Calendar not connected",
|
"title": "Google Calendar not connected",
|
||||||
"subTitle": "Click on the button below to connect your Google Calendar.",
|
"subTitle": "Click on the button below to connect your Google Calendar.",
|
||||||
"button": "Connect now"
|
"button": "Connect now"
|
||||||
|
},
|
||||||
|
"unlinkGoogleCalendar": {
|
||||||
|
"title": "Unlink Google Calendar",
|
||||||
|
"description": "Are you sure you want to unlink your Google Calendar?",
|
||||||
|
"button": "Unlink Google Calendar"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"storeSettings": {
|
"storeSettings": {
|
||||||
|
|
|
@ -1,4 +1,15 @@
|
||||||
import { Button, Card, Col, Form, Result, Row, Spin, Switch } from "antd";
|
import {
|
||||||
|
Button,
|
||||||
|
Card,
|
||||||
|
Col,
|
||||||
|
Form,
|
||||||
|
Popconfirm,
|
||||||
|
Result,
|
||||||
|
Row,
|
||||||
|
Space,
|
||||||
|
Spin,
|
||||||
|
Switch,
|
||||||
|
} from "antd";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import {
|
import {
|
||||||
Constants,
|
Constants,
|
||||||
|
@ -141,10 +152,21 @@ function CardPersonalCalendarSettings({ settings }) {
|
||||||
<Card
|
<Card
|
||||||
title={t("calendar.cardPersonalCalendarSettings.title")}
|
title={t("calendar.cardPersonalCalendarSettings.title")}
|
||||||
extra={
|
extra={
|
||||||
<RequestStateItem
|
<Space>
|
||||||
state={requestState}
|
<RequestStateItem
|
||||||
setRequestState={setRequestState}
|
state={requestState}
|
||||||
/>
|
setRequestState={setRequestState}
|
||||||
|
/>
|
||||||
|
|
||||||
|
<Popconfirm
|
||||||
|
okText={t("common.button.confirm")}
|
||||||
|
cancelText={t("common.button.cancel")}
|
||||||
|
title={t("calendar.unlinkGoogleCalendar.title")}
|
||||||
|
description={t("calendar.unlinkGoogleCalendar.description")}
|
||||||
|
>
|
||||||
|
<Button danger>{t("calendar.unlinkGoogleCalendar.button")}</Button>
|
||||||
|
</Popconfirm>
|
||||||
|
</Space>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<Form form={form} requiredMark={false}>
|
<Form form={form} requiredMark={false}>
|
||||||
|
|
Loading…
Reference in New Issue