mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-02 07:59:56 -04:00
fix(sidebar): Remove pdf export entry
The URL that is used in this entry doesn't exist anymore. We don't plan to implement pdf export with 2.0 anyway so this entry isn't needed. Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
4bca95d473
commit
14abab657d
3 changed files with 0 additions and 12 deletions
|
@ -378,7 +378,6 @@
|
||||||
},
|
},
|
||||||
"export": {
|
"export": {
|
||||||
"rawHtml": "Raw HTML",
|
"rawHtml": "Raw HTML",
|
||||||
"pdf": "PDF export is unavailable.",
|
|
||||||
"markdown-file": "Markdown file"
|
"markdown-file": "Markdown file"
|
||||||
},
|
},
|
||||||
"import": {
|
"import": {
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
import React, { Fragment, useCallback } from 'react'
|
import React, { Fragment, useCallback } from 'react'
|
||||||
import { Trans, useTranslation } from 'react-i18next'
|
import { Trans, useTranslation } from 'react-i18next'
|
||||||
import links from '../../../../links.json'
|
|
||||||
import { ExportMarkdownSidebarEntry } from './export-markdown-sidebar-entry'
|
import { ExportMarkdownSidebarEntry } from './export-markdown-sidebar-entry'
|
||||||
import { SidebarButton } from '../sidebar-button/sidebar-button'
|
import { SidebarButton } from '../sidebar-button/sidebar-button'
|
||||||
import { SidebarMenu } from '../sidebar-menu/sidebar-menu'
|
import { SidebarMenu } from '../sidebar-menu/sidebar-menu'
|
||||||
|
@ -56,15 +55,6 @@ export const ExportMenuSidebarMenu: React.FC<SpecificSidebarMenuProps> = ({
|
||||||
<SidebarButton icon={'file-code-o'}>
|
<SidebarButton icon={'file-code-o'}>
|
||||||
<Trans i18nKey='editor.export.rawHtml' />
|
<Trans i18nKey='editor.export.rawHtml' />
|
||||||
</SidebarButton>
|
</SidebarButton>
|
||||||
<SidebarButton icon={'file-pdf-o'}>
|
|
||||||
<a className='small text-muted' dir={'auto'} href={links.faq} target={'_blank'} rel='noopener noreferrer'>
|
|
||||||
<Trans i18nKey={'editor.export.pdf'} />
|
|
||||||
|
|
||||||
<span className={'text-primary'}>
|
|
||||||
<Trans i18nKey={'common.why'} />
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</SidebarButton>
|
|
||||||
</SidebarMenu>
|
</SidebarMenu>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
"chat": "https://matrix.to/#/#hedgedoc:matrix.org",
|
"chat": "https://matrix.to/#/#hedgedoc:matrix.org",
|
||||||
"community": "https://community.hedgedoc.org",
|
"community": "https://community.hedgedoc.org",
|
||||||
"faq": "https://hedgedoc.org/faq/",
|
|
||||||
"githubOrg": "https://github.com/hedgedoc/",
|
"githubOrg": "https://github.com/hedgedoc/",
|
||||||
"backendSourceCode": "https://github.com/hedgedoc/hedgedoc",
|
"backendSourceCode": "https://github.com/hedgedoc/hedgedoc",
|
||||||
"backendIssues": "https://github.com/hedgedoc/hedgedoc/issues",
|
"backendIssues": "https://github.com/hedgedoc/hedgedoc/issues",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue