mirror of
https://github.com/mattermost/focalboard.git
synced 2025-01-08 15:06:08 +02:00
Updated share modal's title for templates
This commit is contained in:
parent
5e74404077
commit
acd0ca71cd
@ -181,6 +181,7 @@
|
||||
"ShareBoard.tokenRegenrated": "Token regenerated",
|
||||
"ShareBoard.userPermissionsRemoveMemberText": "Remove member",
|
||||
"ShareBoard.userPermissionsYouText": "(You)",
|
||||
"ShareTemplate.Title": "Share Template",
|
||||
"Sidebar.about": "About Focalboard",
|
||||
"Sidebar.add-board": "+ Add board",
|
||||
"Sidebar.changePassword": "Change password",
|
||||
|
@ -240,7 +240,7 @@ export default function ShareBoardDialog(props: Props): JSX.Element {
|
||||
))
|
||||
}
|
||||
|
||||
const toolbar = (
|
||||
const shareBoardTitle = (
|
||||
<span className='text-heading5'>
|
||||
<FormattedMessage
|
||||
id={'ShareBoard.Title'}
|
||||
@ -249,6 +249,17 @@ export default function ShareBoardDialog(props: Props): JSX.Element {
|
||||
</span>
|
||||
)
|
||||
|
||||
const shareTemplateTitle = (
|
||||
<span className='text-heading5'>
|
||||
<FormattedMessage
|
||||
id={'ShareTemplate.Title'}
|
||||
defaultMessage={'Share Template'}
|
||||
/>
|
||||
</span>
|
||||
)
|
||||
|
||||
const toolbar = board.isTemplate ? shareTemplateTitle : shareBoardTitle
|
||||
|
||||
return (
|
||||
<Dialog
|
||||
onClose={props.onClose}
|
||||
|
Loading…
Reference in New Issue
Block a user