From bb96da8fe3f489362acc5a9541323dcedc18ab67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gangloff?= Date: Sat, 17 Aug 2024 00:36:00 +0200 Subject: [PATCH] feat: add Webhook content message --- .../tracking/watchlist/WatchlistForm.tsx | 12 +++-- src/Controller/WatchListController.php | 51 ++++++++++--------- src/Notifier/DomainOrderErrorNotification.php | 5 +- src/Notifier/DomainOrderNotification.php | 6 ++- .../DomainUpdateErrorNotification.php | 5 +- src/Notifier/DomainUpdateNotification.php | 6 ++- src/Notifier/TestChatNotification.php | 6 ++- translations/translations.pot | 37 +++++++++++--- 8 files changed, 85 insertions(+), 43 deletions(-) diff --git a/assets/components/tracking/watchlist/WatchlistForm.tsx b/assets/components/tracking/watchlist/WatchlistForm.tsx index 36b4159..eb2ce5e 100644 --- a/assets/components/tracking/watchlist/WatchlistForm.tsx +++ b/assets/components/tracking/watchlist/WatchlistForm.tsx @@ -1,4 +1,4 @@ -import {Button, Form, FormInstance, Input, Select, SelectProps, Space, Tag} from "antd"; +import {Button, Form, FormInstance, Input, Select, SelectProps, Space, Tag, Typography} from "antd"; import {t} from "ttag"; import {ApiOutlined, MinusCircleOutlined, PlusOutlined} from "@ant-design/icons"; import React from "react"; @@ -209,7 +209,7 @@ export function WatchlistForm({form, connectors, onFinish, isCreation}: { }]} noStyle > - + {fields.length > 1 ? ( ))} - + + {t`Check out this link to the Symfony documentation to help you build the DSN`} + } + >