Move SPF info to the relay provider input
This commit is contained in:
@@ -157,6 +157,9 @@ async function onSubmit() {
|
||||
<div>
|
||||
<SingleSelect v-model="provider" :options="providers" option-key="provider" option-label="name" @select="onProviderChange()" style="display: flex;"/>
|
||||
|
||||
<!-- set max-width here until Dialog supports that -->
|
||||
<div v-if="providerSpfDoc" class="text-warning" style="margin: 10px 0; max-width: 600px" v-html="$t('email.outbound.mailRelay.spfDocInfo', { name: provider, spfDocsLink: providerSpfDoc })"></div>
|
||||
|
||||
<div class="text-danger" style="margin: 10px 0;" v-if="provider === 'noop'">{{ $t(domain === adminDomain ? 'email.outbound.noopAdminDomainWarning' : 'email.outbound.noopNonAdminDomainWarning') }}</div>
|
||||
|
||||
<div class="text-danger" v-if="formError">{{ formError }}</div>
|
||||
@@ -196,8 +199,6 @@ async function onSubmit() {
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<!-- set max-width here until Dialog supports that -->
|
||||
<div v-if="providerSpfDoc" class="text-danger" style="margin: 10px 0; max-width: 600px" v-html="$t('email.outbound.mailRelay.spfDocInfo', { name: provider, spfDocsLink: providerSpfDoc })"></div>
|
||||
</div>
|
||||
</Dialog>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user