Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
71411891
authored
Aug 08, 2024
by
Finley Ge
Committed by
GitHub
Aug 08, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(notification bind): team member notification bind hint text (#2295)
adjusting
parent
3ba9c218
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
packages/web/i18n/zh/user.json
+2
-1
projects/app/src/pages/account/components/Info.tsx
+9
-2
No files found.
packages/web/i18n/zh/user.json
View file @
71411891
...
...
@@ -2,7 +2,8 @@
"bind_inform_account_error"
:
"绑定通知账号异常"
,
"bind_inform_account_success"
:
"绑定通知账号成功"
,
"notification"
:
{
"Bind Notification Pipe Hint"
:
"绑定接收通知的邮箱或手机号,以确保您能及时接收到重要的系统通知。"
"Bind Notification Pipe Hint"
:
"绑定接收通知的邮箱或手机号,以确保您能及时接收到重要的系统通知。"
,
"remind_owner_bind"
:
"请提醒创建者绑定通知账号"
},
"permission"
:
{
"Manage"
:
"管理员"
,
...
...
projects/app/src/pages/account/components/Info.tsx
View file @
71411891
...
...
@@ -267,8 +267,15 @@ const MyInfo = () => {
{
feConfigs
?.
isPlus
&&
(
<
Flex
mt=
{
6
}
alignItems=
{
'center'
}
>
<
Box
{
...
labelStyles
}
>
{
t
(
'common:user.Notification Receive'
)
}
:
</
Box
>
<
Box
flex=
{
1
}
{
...
(
userInfo
?
.
team
.
notificationAccount
?
{}
:
{
color
:
'
red
.
600'
})}
>
{
userInfo
?.
team
.
notificationAccount
||
t
(
'common:user.Notification Receive Bind'
)
}
<
Box
flex=
{
1
}
{
...
(!
userInfo
?
.
team
.
notificationAccount
&&
userInfo
?
.
permission
.
isOwner
?
{
color
:
'
red
.
600'
}
:
{})}
>
{
userInfo
?.
team
.
notificationAccount
||
userInfo
?.
permission
.
isOwner
?
t
(
'common:user.Notification Receive Bind'
)
:
t
(
'user:notification.remind_owner_bind'
)
}
</
Box
>
{
userInfo
?.
permission
.
isOwner
&&
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment