mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
feat(editor): Use i18n component instead od v-html for localization
* feat(editor): Export i18n instance and bind it to Vue instance * feat(editor): Audit usage of v-html and replace with alternatives where possible * 🔀 Fix conflicted element in RunDataTable * ♻️ Refactor issues elements with the new TitledList component * 🐛 Fixing unknown node modal dialog content rendering Co-authored-by: Milorad Filipovic <milorad@n8n.io>
This commit is contained in:
@@ -5,7 +5,15 @@
|
||||
<n8n-heading size="2xlarge">{{ $locale.baseText('settings.users') }}</n8n-heading>
|
||||
<div :class="$style.buttonContainer" v-if="!showUMSetupWarning">
|
||||
<n8n-tooltip :disabled="isSmtpSetup" placement="bottom">
|
||||
<div slot="content" v-html="$locale.baseText('settings.users.setupSMTPToInviteUsers')"></div>
|
||||
<i18n slot="content" path="settings.users.setupSMTPToInviteUsers" tag="span">
|
||||
<template #action>
|
||||
<a
|
||||
href="https://docs.n8n.io/reference/user-management.html#step-one-smtp"
|
||||
target="_blank"
|
||||
v-text="$locale.baseText('settings.users.setupSMTPToInviteUsers.instructions')"
|
||||
/>
|
||||
</template>
|
||||
</i18n>
|
||||
<div>
|
||||
<n8n-button :label="$locale.baseText('settings.users.invite')" @click="onInvite" size="large" :disabled="!isSmtpSetup" />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user