@using Microsoft.AspNetCore.Mvc.Localization @using Microsoft.Extensions.Localization @using gehGassi.Web.Helper @using gehGassi.Web.Models @using Microsoft.AspNetCore.Mvc.TagHelpers @model gehGassi.Web.Models.AppUserReportDetailVm @inject IViewLocalizer Localizer @{ IStringLocalizer annotationsLocalizer = ViewBag.AnnotationsLocalizer; ViewData["Title"] = Localizer["Button_Details"]; }
@Localizer["AppUserReport_ReportingUser"]
@if (!string.IsNullOrWhiteSpace(Model.ReportingUser.Photo)) { } else { }
@Model.ReportingUser.FirstName @Model.ReportingUser.LastName
@annotationsLocalizer["AppUser_Type"]: @Model.ReportingUser.Type.GetDisplayName(annotationsLocalizer)
@annotationsLocalizer["Address_CountryCode"]: @Model.ReportingUser.Address.CountryCode
@annotationsLocalizer["Contact_Email"]: @Model.ReportingUser.Contact.Email
@if (Model.ReportingUser.Verified) {
@annotationsLocalizer["Common_Verified"]: @Localizer["Common_Yes"] (@Model.ReportingUser.VerifiedDate.Value.ToString("g"))
} else {
@annotationsLocalizer["Common_Verified"]: @Localizer["Common_No"]
}
@Localizer["AppUserReport_NrReporting"]: @Model.ReportingCount
@annotationsLocalizer["Common_LockedCount"]: @Model.ReportingUser.LockedCount
@Localizer["AppUserReport_ReportedUser"]
@if (!string.IsNullOrWhiteSpace(Model.ReportedUser.Photo)) { } else { }
@Model.ReportedUser.FirstName @Model.ReportedUser.LastName
@annotationsLocalizer["AppUser_Type"]: @Model.ReportedUser.Type.GetDisplayName(annotationsLocalizer)
@annotationsLocalizer["Address_CountryCode"]: @Model.ReportedUser.Address.CountryCode
@annotationsLocalizer["Contact_Email"]: @Model.ReportedUser.Contact.Email
@if (Model.ReportedUser.Verified) {
@annotationsLocalizer["Common_Verified"]: @Localizer["Common_Yes"] (@Model.ReportedUser.VerifiedDate.Value.ToString("g"))
} else {
@annotationsLocalizer["Common_Verified"]: @Localizer["Common_No"]
}
@Localizer["AppUserReport_NrReported"]: @Model.ReportedCount
@annotationsLocalizer["Common_LockedCount"]: @Model.ReportedUser.LockedCount

@Localizer["AppUserReport_Report"]
@Localizer["AppUserReport_Report_Hint"]
@Localizer["AppUserReport_Comment_Of"] @Model.ReportingUser.FirstName @Model.ReportingUser.LastName
@Localizer["AppUserReport_ContactEmail"]: @Model.Report.Email

@Localizer["Common_Actions"]
@Html.Hidden("jsUpdateStatusUrl", Url.Action("UpdateStatus", "AppUserReport")) @Html.Hidden("jsLockUrl", Url.Action("Lock", "AppUser")) @Html.Hidden("jsShowContentUrl", Url.Action("ShowContent", "AppUserReport"))