diff --git a/GanjooRazor/Areas/User/Pages/AwaitingComments.cshtml b/GanjooRazor/Areas/User/Pages/AwaitingComments.cshtml index 3435c7e3..6012b289 100644 --- a/GanjooRazor/Areas/User/Pages/AwaitingComments.cshtml +++ b/GanjooRazor/Areas/User/Pages/AwaitingComments.cshtml @@ -1,201 +1,119 @@ -@page +@page @model GanjooRazor.Areas.User.Pages.AwaitingCommentsModel @using DNTPersianUtils.Core @{ Layout = "_UserPanelLayout"; ViewData["Title"] = "حاشیههای در انتظار تأیید"; await GanjooRazor.Utils.GanjoorSessionChecker.ApplyPermissionsToViewData(Request, Response, ViewData); - string color = "gray"; } - -
- @foreach (var paginationLink in Model.PaginationLinks) - { - if (!string.IsNullOrEmpty(paginationLink.Url)) - { - @paginationLink.Name - } - else - { - @paginationLink.Name - } - } -
- - -- پرسش جدید -
-| - @Model.MainImage.GanjoorTitle - | -|
|
- |
-
+
+
+
+
+
+
@if (Model.PreviouslyLinkedImage != null)
{
- تصویر پیشنهادی +
+
}
- تصویر فعلی + |
-
| - | -|
| - تعداد کل: - | -- @Model.TotalCount - | -
تعداد کل: @Model.TotalCount
+ +} diff --git a/GanjooRazor/Areas/User/Pages/ReportedComments.cshtml b/GanjooRazor/Areas/User/Pages/ReportedComments.cshtml index 86f8e465..20542854 100644 --- a/GanjooRazor/Areas/User/Pages/ReportedComments.cshtml +++ b/GanjooRazor/Areas/User/Pages/ReportedComments.cshtml @@ -1,112 +1,83 @@ -@page +@page @model GanjooRazor.Areas.User.Pages.ReportedCommentsModel @using DNTPersianUtils.Core @{ Layout = "_UserPanelLayout"; ViewData["Title"] = "حاشیههای گزارش شده"; await GanjooRazor.Utils.GanjoorSessionChecker.ApplyPermissionsToViewData(Request, Response, ViewData); - string color = "gray"; } -- @foreach (var paginationLink in Model.PaginationLinks) - { - if (!string.IsNullOrEmpty(paginationLink.Url)) - { - @paginationLink.Name - } - else - { - @paginationLink.Name - } - } -
+- @report.ReasonCode -
-- @report.ReasonText -
-- @Html.Raw(report.Comment.HtmlComment) -- ✓ درست میگوید - - گزارش نابجا ❌ -- @report.Comment.AuthorName در @report.Comment.CommentDate.ToFriendlyPersianDateTextify() دربارهٔ @report.Comment.Poem.Title -
-
@report.ReasonText
++ @Html.Raw(report.Comment.HtmlComment) + ++
- @foreach (var paginationLink in Model.PaginationLinks) - { - if (!string.IsNullOrEmpty(paginationLink.Url)) - { - @paginationLink.Name - } - else - { - @paginationLink.Name - } - } -
-} \ No newline at end of file +پیشنهادی وجود ندارد.
+شعر مرتبط یافت نشد!
+تعداد کل: @Model.TotalCount
+ + } @if (ViewData.ContainsKey("ganjoor-songrevu")) { - اضافه کردن آهنگ از منبع دلخواه + } - - - - - - + diff --git a/GanjooRazor/Areas/User/Pages/SuggestedPoetPhotos.cshtml b/GanjooRazor/Areas/User/Pages/SuggestedPoetPhotos.cshtml index 30090f4e..ceaeb42c 100644 --- a/GanjooRazor/Areas/User/Pages/SuggestedPoetPhotos.cshtml +++ b/GanjooRazor/Areas/User/Pages/SuggestedPoetPhotos.cshtml @@ -1,4 +1,4 @@ -@page +@page @model GanjooRazor.Areas.User.Pages.SuggestedPoetPhotosModel @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @{ @@ -6,106 +6,61 @@ ViewData["Title"] = "تصاویر پیشنهادی برای تصاویر سخنوران"; await GanjooRazor.Utils.GanjoorSessionChecker.ApplyPermissionsToViewData(Request, Response, ViewData); } - -| - سخنور: - | -
+
+
+
+ |
- |||
| - پیشنهاد دهنده: - | -- @Model.Suggestion.SuggestedById - | -|||
|
- |
- ||||
| - عنوان: - | -- - | -|||
| - توضیحات: - | -- - | -|||
| - ترتیب: - | -- - | -|||
| - - | -
-
+
+
+
- |
- |||
| - تعداد کل: - | -- @Model.TotalCount - | -|||
تعداد کل: @Model.TotalCount
+ + } diff --git a/GanjooRazor/Areas/User/Pages/SuggestedPoetSpecLines.cshtml b/GanjooRazor/Areas/User/Pages/SuggestedPoetSpecLines.cshtml index 6f90aea2..ce5ba0fa 100644 --- a/GanjooRazor/Areas/User/Pages/SuggestedPoetSpecLines.cshtml +++ b/GanjooRazor/Areas/User/Pages/SuggestedPoetSpecLines.cshtml @@ -1,4 +1,4 @@ -@page +@page @model GanjooRazor.Areas.User.Pages.SuggestedPoetSpecLinesModel @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @{ @@ -6,84 +6,50 @@ ViewData["Title"] = "نکات پیشنهادی برای تصاویر سخنوران"; await GanjooRazor.Utils.GanjoorSessionChecker.ApplyPermissionsToViewData(Request, Response, ViewData); } - -| - سخنور: - | -
+
+
+
+ |
- |||
| - پیشنهاد دهنده: - | -- @Model.Suggestion.SuggestedById - | -|||
| - نکته: - | -- - | -|||
| - - | -
-
|
- |||
| - تعداد کل: - | -- @Model.TotalCount - | -
تعداد کل: @Model.TotalCount
+ + +}