Skip to content

Commit 3d95b53

Browse files
committed
fix: update glossary documentation links and temporarily hide import section
1 parent d46d827 commit 3d95b53

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

webapp/src/ee/glossary/components/AddFirstGlossaryMessage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const AddFirstGlossaryMessage: React.VFC<
5151
keyName="glossaries_list_empty_message"
5252
params={{
5353
bestPractice: (
54-
<Link href="https://docs.tolgee.io/platform/projects_and_organizations/glossary" />
54+
<Link href="https://docs.tolgee.io/platform/projects_and_organizations/managing_glossaries" />
5555
),
5656
}}
5757
/>

webapp/src/ee/glossary/components/GlossaryEmptyListMessage.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,15 @@ export const GlossaryEmptyListMessage: React.VFC<Props> = ({
7979
<T keyName="glossary_empty_placeholder_add_term_button" />
8080
</Button>
8181
<Link
82-
href="https://docs.tolgee.io/platform/projects_and_organizations/glossary"
82+
href="https://docs.tolgee.io/platform/projects_and_organizations/managing_glossaries"
8383
sx={{ visibility: 'hidden' }}
8484
>
8585
<Typography variant="body2">
8686
<T keyName="glossary_empty_placeholder_add_term_best_practices" />
8787
</Typography>
8888
</Link>
8989
</StyledCard>
90+
{/* TODO: enable when docs are ready */}
9091
<StyledCard elevation={0} sx={{ display: 'none' }}>
9192
<StyledUploadCloud02 />
9293
<Typography variant="h4">
@@ -104,7 +105,8 @@ export const GlossaryEmptyListMessage: React.VFC<Props> = ({
104105
>
105106
<T keyName="glossary_empty_placeholder_import_terms_button" />
106107
</Button>
107-
<Link href="https://docs.tolgee.io/platform/projects_and_organizations/glossary/import/csv-format">
108+
{/* TODO: update url when docs are ready */}
109+
<Link href="https://docs.tolgee.io/platform/projects_and_organizations/managing_glossaries/import/csv-format">
108110
<Typography variant="body2">
109111
<T keyName="glossary_empty_placeholder_import_terms_csv_format" />
110112
</Typography>

0 commit comments

Comments
 (0)