mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Update registered community CTA (no-changelog) (#14117)
Co-authored-by: Charlie Kolb <charlie@n8n.io>
This commit is contained in:
committed by
GitHub
parent
59a0ee75dd
commit
20fb325c4c
@@ -3,7 +3,7 @@ import { ref } from 'vue';
|
||||
import { createEventBus } from '@n8n/utils/event-bus';
|
||||
import type { Validatable, IValidator } from '@n8n/design-system';
|
||||
import { N8nFormInput } from '@n8n/design-system';
|
||||
import { VALID_EMAIL_REGEX } from '@/constants';
|
||||
import { VALID_EMAIL_REGEX, COMMUNITY_PLUS_DOCS_URL } from '@/constants';
|
||||
import Modal from '@/components/Modal.vue';
|
||||
import { useI18n } from '@/composables/useI18n';
|
||||
import { useToast } from '@/composables/useToast';
|
||||
@@ -86,9 +86,6 @@ const confirm = async () => {
|
||||
>
|
||||
<template #content>
|
||||
<div>
|
||||
<p :class="$style.top">
|
||||
<N8nBadge>{{ i18n.baseText('communityPlusModal.badge') }}</N8nBadge>
|
||||
</p>
|
||||
<N8nText tag="h1" align="center" size="xlarge" class="mb-m">{{
|
||||
data?.customHeading ?? i18n.baseText('communityPlusModal.title')
|
||||
}}</N8nText>
|
||||
@@ -141,6 +138,14 @@ const confirm = async () => {
|
||||
</div>
|
||||
</template>
|
||||
<template #footer>
|
||||
<div :class="$style.notice">
|
||||
<N8nText size="xsmall" tag="span">
|
||||
{{ i18n.baseText('communityPlusModal.notice') }}
|
||||
<a :href="COMMUNITY_PLUS_DOCS_URL" target="_blank">
|
||||
{{ i18n.baseText('generic.moreInfo') }}
|
||||
</a>
|
||||
</N8nText>
|
||||
</div>
|
||||
<div :class="$style.buttons">
|
||||
<N8nButton :class="$style.skip" type="secondary" text @click="closeModal">{{
|
||||
i18n.baseText('communityPlusModal.button.skip')
|
||||
@@ -154,10 +159,8 @@ const confirm = async () => {
|
||||
</template>
|
||||
|
||||
<style lang="scss" module>
|
||||
.top {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin: 0 0 var(--spacing-s);
|
||||
.notice {
|
||||
margin-bottom: var(--spacing-l);
|
||||
}
|
||||
|
||||
.features {
|
||||
|
||||
Reference in New Issue
Block a user