Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

_CreateOrUpdate.cshtml

@using Nop.Core.Domain.Messages
@using Nop.Web.Areas.Admin.Controllers
@model EmailAccountModel

@inject IWebHelper webHelper

@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.EmailAccountDetailsTop, additionalData = Model })

@T("Admin.Configuration.EmailAccounts.RedirectUrl.Info", Url.Action(nameof(EmailAccountController.AuthReturn), null, null, webHelper.GetCurrentRequestProtocol()))

@if (Model.Id > 0) { }
@if (Model.Id > 0) {
@if (!string.IsNullOrEmpty(Model.AuthUrl)) {

@T("Admin.Configuration.EmailAccounts.AuthorizationRequest.Info", T("Admin.Configuration.EmailAccounts.AuthorizationRequest.Text").Text)

} }
@if (Model.Id > 0) {
@T("Admin.Configuration.EmailAccounts.SendTestEmail")
} @await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.EmailAccountDetailsBottom, additionalData = Model })