mirror of
https://github.com/woodchen-ink/certimate.git
synced 2025-07-18 17:31:55 +08:00
feat: add channelId tooltip
This commit is contained in:
parent
48f698e84b
commit
4784bf9dba
@ -9,12 +9,12 @@ import NotifyChannelEditFormDingTalkFields from "./NotifyChannelEditFormDingTalk
|
||||
import NotifyChannelEditFormEmailFields from "./NotifyChannelEditFormEmailFields";
|
||||
import NotifyChannelEditFormGotifyFields from "./NotifyChannelEditFormGotifyFields.tsx";
|
||||
import NotifyChannelEditFormLarkFields from "./NotifyChannelEditFormLarkFields";
|
||||
import NotifyChannelEditFormMattermostFields from "./NotifyChannelEditFormMattermostFields.tsx";
|
||||
import NotifyChannelEditFormPushPlusFields from "./NotifyChannelEditFormPushPlusFields";
|
||||
import NotifyChannelEditFormServerChanFields from "./NotifyChannelEditFormServerChanFields";
|
||||
import NotifyChannelEditFormTelegramFields from "./NotifyChannelEditFormTelegramFields";
|
||||
import NotifyChannelEditFormWebhookFields from "./NotifyChannelEditFormWebhookFields";
|
||||
import NotifyChannelEditFormWeComFields from "./NotifyChannelEditFormWeComFields";
|
||||
import NotifyChannelEditFormMattermostFields from "@/components/notification/NotifyChannelEditFormMattermostFields.tsx";
|
||||
|
||||
type NotifyChannelEditFormFieldValues = NotifyChannelsSettingsContent[keyof NotifyChannelsSettingsContent];
|
||||
|
||||
|
@ -37,6 +37,7 @@ const NotifyChannelEditFormMattermostFields = () => {
|
||||
name="channelId"
|
||||
label={t("settings.notification.channel.form.mattermost_channel_id.label")}
|
||||
rules={[formRule]}
|
||||
tooltip={<span dangerouslySetInnerHTML={{ __html: t("settings.notification.channel.form.mattermost_channel_id.tooltip") }}></span>}
|
||||
>
|
||||
<Input placeholder={t("settings.notification.channel.form.mattermost_channel_id.placeholder")} />
|
||||
</Form.Item>
|
||||
|
@ -71,6 +71,7 @@
|
||||
"settings.notification.channel.form.mattermost_server_url.tooltip": "Example: <b>https://exmaple.com</b>, the protocol needs to be included but the trailing '/' should not be included.",
|
||||
"settings.notification.channel.form.mattermost_channel_id.label": "Channel ID",
|
||||
"settings.notification.channel.form.mattermost_channel_id.placeholder": "Please enter channel ID",
|
||||
"settings.notification.channel.form.mattermost_channel_id.tooltip": "How to get the channel ID? Select the target channel from the left sidebar, click on the channel name at the top, and choose ”Channel Details.” You can directly see the channel ID on the pop-up page.",
|
||||
"settings.notification.channel.form.mattermost_username.label": "Username",
|
||||
"settings.notification.channel.form.mattermost_username.placeholder": "Please enter username",
|
||||
"settings.notification.channel.form.mattermost_password.label": "Password",
|
||||
|
@ -71,6 +71,7 @@
|
||||
"settings.notification.channel.form.mattermost_server_url.tooltip": "示例: <b>https://exmaple.com</b>,需要包含协议但不要包含末尾的'/'",
|
||||
"settings.notification.channel.form.mattermost_channel_id.label": "频道ID",
|
||||
"settings.notification.channel.form.mattermost_channel_id.placeholder": "请输入频道ID",
|
||||
"settings.notification.channel.form.mattermost_channel_id.tooltip": "频道ID怎么获取?从左侧边栏中选择目标频道,点击顶部的频道名称,选择“频道详情”,即可在弹出页面中直接看到频道ID",
|
||||
"settings.notification.channel.form.mattermost_username.label": "用户名",
|
||||
"settings.notification.channel.form.mattermost_username.placeholder": "请输入用户名",
|
||||
"settings.notification.channel.form.mattermost_password.label": "密码",
|
||||
|
Loading…
x
Reference in New Issue
Block a user