mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-22 21:12:04 +00:00
refactor: move version info modal
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
ff004a5a63
commit
9030bbd454
3 changed files with 12 additions and 12 deletions
|
@ -156,7 +156,7 @@
|
|||
"versionInfo": {
|
||||
"issueTracker": "Found a bug? Fill an issue!",
|
||||
"sourceCode": "Read the source code",
|
||||
"versionInfo": "Version info",
|
||||
"versionInfo": "Running Version",
|
||||
"title": "Running HedgeDoc on version"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
import type { BackendVersion } from '../../../../api/config/types'
|
||||
import links from '../../../../links.json'
|
||||
import { cypressId } from '../../../../utils/cypress-attribute'
|
||||
import { CopyableField } from '../../../common/copyable/copyable-field/copyable-field'
|
||||
import { useFrontendConfig } from '../../../common/frontend-config-context/use-frontend-config'
|
||||
import { TranslatedExternalLink } from '../../../common/links/translated-external-link'
|
||||
import type { CommonModalProps } from '../../../common/modals/common-modal'
|
||||
import { CommonModal } from '../../../common/modals/common-modal'
|
||||
import { ShowIf } from '../../../common/show-if/show-if'
|
||||
import type { BackendVersion } from '../../../api/config/types'
|
||||
import links from '../../../links.json'
|
||||
import { cypressId } from '../../../utils/cypress-attribute'
|
||||
import { CopyableField } from '../../common/copyable/copyable-field/copyable-field'
|
||||
import { useFrontendConfig } from '../../common/frontend-config-context/use-frontend-config'
|
||||
import { TranslatedExternalLink } from '../../common/links/translated-external-link'
|
||||
import type { CommonModalProps } from '../../common/modals/common-modal'
|
||||
import { CommonModal } from '../../common/modals/common-modal'
|
||||
import { ShowIf } from '../../common/show-if/show-if'
|
||||
import React, { useMemo } from 'react'
|
||||
import { Modal } from 'react-bootstrap'
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
|
||||
* SPDX-FileCopyrightText: 2023 The HedgeDoc developers (see AUTHORS file)
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
import { useBooleanState } from '../../../../hooks/common/use-boolean-state'
|
||||
import { cypressId } from '../../../../utils/cypress-attribute'
|
||||
import { VersionInfoModal } from './version-info-modal'
|
||||
import { VersionInfoModal } from '../../../global-dialogs/version-info-modal/version-info-modal'
|
||||
import React, { Fragment } from 'react'
|
||||
import { Button } from 'react-bootstrap'
|
||||
import { Trans } from 'react-i18next'
|
||||
|
|
Loading…
Reference in a new issue