diff --git a/GanjooRazor/Areas/User/Pages/CatEditor.cshtml b/GanjooRazor/Areas/User/Pages/CatEditor.cshtml index 3044ea9f..537f8185 100644 --- a/GanjooRazor/Areas/User/Pages/CatEditor.cshtml +++ b/GanjooRazor/Areas/User/Pages/CatEditor.cshtml @@ -8,6 +8,89 @@ }

@ViewData["Title"]

+@if (Model.MyLastEdit != null) +{ + + + + + + + + + + + + @if (Model.MyLastEdit.Description != null) + { + + + + + + + + + + + } + @if (!string.IsNullOrEmpty(Model.MyLastEdit.Note)) + { + + + + + } + + + + + +
ویرایشهای بررسی نشدهٔ من
متن اولیهتغییرات من
+ تغییرات متن +
+

@Model.MyLastEdit.OriginalDescription

+
+

@Model.MyLastEdit.Description

+
+

@Model.MyLastEdit.OriginalDescription

+ +
یادداشت: + @Model.MyLastEdit.Note +
+ انصراف و حذف این ویرایش +
+} +
diff --git a/GanjooRazor/Areas/User/Pages/CatEditor.cshtml.cs b/GanjooRazor/Areas/User/Pages/CatEditor.cshtml.cs index 963b491f..4c577d88 100644 --- a/GanjooRazor/Areas/User/Pages/CatEditor.cshtml.cs +++ b/GanjooRazor/Areas/User/Pages/CatEditor.cshtml.cs @@ -100,7 +100,7 @@ namespace GanjooRazor.Areas.User.Pages return Page(); } - public async Task OnPostDeleteCatCorrectionsAsync(int catid) + public async Task OnPostDeleteCatCorrectionAsync(int catid) { using (HttpClient secureClient = new HttpClient()) {