@using WeApp.Authorization @using WeApp.Views.Shared.Modals @model WeApp.Controllers.UserProfileViewModel @{ ViewBag.ActiveMenu = PermissionNames.Pages; ViewBag.Title = L("UserProfileTitle"); var userImagePath = string.IsNullOrEmpty(Model.ImagePath) ? "/Content/Image/user.png" : Model.ImagePath; var accountType = AbpSession.AccountType; } @section styles { }
@(L("UserProfile"))
@(L(
@Html.HiddenFor(a => a.UserId) @Html.HiddenFor(a => a.UserName)
@Model.UserName
@Model.RealName
@Model.EmailAddress
@Model.PhoneNumber
@if (accountType != 1) { string birthday = Model.Birthday != null ? Convert.ToDateTime(Model.Birthday).ToString("yyyy-MM-dd") : "";
@Model.PhoneNumber2
@Model.IdCard
@birthday
@Model.Profile
}
@section modal { } @section scripts { }