mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(editor): Update version control docs links (#6440)
* fix(editor): Update version control setup docs link * fix(editor): add setup version control docs link to other places * fix(editor): making docs link reactive
This commit is contained in:
parent
d3b78e291e
commit
da105f468b
|
@ -13,6 +13,8 @@ const toast = useToast();
|
||||||
const message = useMessage();
|
const message = useMessage();
|
||||||
const loadingService = useLoadingService();
|
const loadingService = useLoadingService();
|
||||||
|
|
||||||
|
const versionControlDocsUrl = ref('https://docs.n8n.io/environments/version-control/');
|
||||||
|
const versionControlDocsSetupUrl = computed(() => versionControlDocsUrl.value + 'setup/');
|
||||||
const isConnected = ref(false);
|
const isConnected = ref(false);
|
||||||
|
|
||||||
const onConnect = async () => {
|
const onConnect = async () => {
|
||||||
|
@ -188,7 +190,7 @@ const refreshBranches = async () => {
|
||||||
<n8n-callout theme="secondary" icon="info-circle" class="mt-2xl mb-l">
|
<n8n-callout theme="secondary" icon="info-circle" class="mt-2xl mb-l">
|
||||||
<i18n path="settings.versionControl.description">
|
<i18n path="settings.versionControl.description">
|
||||||
<template #link>
|
<template #link>
|
||||||
<a href="#" target="_blank">
|
<a :href="versionControlDocsSetupUrl" target="_blank">
|
||||||
{{ locale.baseText('settings.versionControl.description.link') }}
|
{{ locale.baseText('settings.versionControl.description.link') }}
|
||||||
</a>
|
</a>
|
||||||
</template>
|
</template>
|
||||||
|
@ -279,7 +281,7 @@ const refreshBranches = async () => {
|
||||||
<n8n-notice type="info" class="mt-s">
|
<n8n-notice type="info" class="mt-s">
|
||||||
<i18n path="settings.versionControl.sshKeyDescription">
|
<i18n path="settings.versionControl.sshKeyDescription">
|
||||||
<template #link>
|
<template #link>
|
||||||
<a href="#" target="_blank">{{
|
<a :href="versionControlDocsSetupUrl" target="_blank">{{
|
||||||
locale.baseText('settings.versionControl.sshKeyDescriptionLink')
|
locale.baseText('settings.versionControl.sshKeyDescriptionLink')
|
||||||
}}</a>
|
}}</a>
|
||||||
</template>
|
</template>
|
||||||
|
@ -344,7 +346,7 @@ const refreshBranches = async () => {
|
||||||
<strong>{{ locale.baseText('settings.versionControl.readonly.bold') }}</strong>
|
<strong>{{ locale.baseText('settings.versionControl.readonly.bold') }}</strong>
|
||||||
</template>
|
</template>
|
||||||
<template #link>
|
<template #link>
|
||||||
<a href="#" target="_blank">
|
<a :href="versionControlDocsSetupUrl" target="_blank">
|
||||||
{{ locale.baseText('settings.versionControl.readonly.link') }}
|
{{ locale.baseText('settings.versionControl.readonly.link') }}
|
||||||
</a>
|
</a>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in a new issue