@model CustomerAvatarModel @{ Layout = "_ColumnsTwo"; //title NopHtml.AddTitleParts(T("PageTitle.Account").Text); //page class NopHtml.AppendPageCssClassParts("html-account-page"); NopHtml.AppendPageCssClassParts("html-avatar-page"); } @section left { @await Component.InvokeAsync(typeof(CustomerNavigationViewComponent), new { selectedTabId = CustomerNavigationEnum.Avatar }) }

@T("Account.MyAccount") - @T("Account.Avatar")

@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.CustomerAvatarTop, additionalData = Model })
@if (!string.IsNullOrEmpty(Model.AvatarUrl)) {
avatar
}
@if (!string.IsNullOrEmpty(Model.AvatarUrl)) { }
@T("Account.Avatar.UploadRules")
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.CustomerAvatarBottom, additionalData = Model })