From b07c3a9f110d673a179a7b725772c10645a29c9b Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Wed, 6 Oct 2021 13:00:48 +0330 Subject: [PATCH] #219 support for VersePosition.Comment --- GanjooRazor/Areas/User/Pages/Editor.cshtml.cs | 2 ++ GanjooRazor/Areas/User/Pages/Translate.cshtml.cs | 2 ++ GanjooRazor/Pages/AudioClip.cshtml | 2 +- GanjooRazor/Pages/Bp.cshtml | 2 +- GanjooRazor/Pages/Error.cshtml | 2 +- GanjooRazor/Pages/Golha.cshtml | 2 +- GanjooRazor/Pages/Index.cshtml | 2 +- GanjooRazor/Pages/Login.cshtml | 2 +- GanjooRazor/Pages/Pin.cshtml | 2 +- GanjooRazor/Pages/ReportComment.cshtml | 2 +- GanjooRazor/Pages/ResetPassword.cshtml | 2 +- GanjooRazor/Pages/Search.cshtml | 2 +- GanjooRazor/Pages/Shared/_AdminLayout.cshtml | 2 +- GanjooRazor/Pages/Shared/_Layout.cshtml | 2 +- GanjooRazor/Pages/SignUp.cshtml | 2 +- GanjooRazor/Pages/Spotify.cshtml | 2 +- GanjooRazor/Pages/Trans.cshtml | 2 +- GanjooRazor/Pages/errors/404.cshtml | 2 +- GanjooRazor/wwwroot/css/p8.css | 4 ++-- RMuseum/Models/Ganjoor/VersePosition.cs | 4 ++++ RMuseum/RMuseum.xml | 5 +++++ .../Services/Implementation/GanjoorNumberingService.cs | 2 +- .../GanjoorService-MySqlImports.cs | 10 ++++++++-- .../GanjoorService-SQLiteUtils.cs | 5 +++++ 24 files changed, 45 insertions(+), 21 deletions(-) diff --git a/GanjooRazor/Areas/User/Pages/Editor.cshtml.cs b/GanjooRazor/Areas/User/Pages/Editor.cshtml.cs index 31d51428..0a4d8c6d 100644 --- a/GanjooRazor/Areas/User/Pages/Editor.cshtml.cs +++ b/GanjooRazor/Areas/User/Pages/Editor.cshtml.cs @@ -51,6 +51,8 @@ namespace GanjooRazor.Areas.User.Pages return "پاراگراف نثر"; case VersePosition.Single: return "نیمایی یا آزاد"; + case VersePosition.Comment: + return "توضیح"; } return "نامعتبر"; } diff --git a/GanjooRazor/Areas/User/Pages/Translate.cshtml.cs b/GanjooRazor/Areas/User/Pages/Translate.cshtml.cs index b8a664a1..a703fc78 100644 --- a/GanjooRazor/Areas/User/Pages/Translate.cshtml.cs +++ b/GanjooRazor/Areas/User/Pages/Translate.cshtml.cs @@ -65,6 +65,8 @@ namespace GanjooRazor.Areas.User.Pages return "پاراگراف نثر"; case VersePosition.Single: return "نیمایی یا آزاد"; + case VersePosition.Comment: + return "توضیح"; } return "نامعتبر"; } diff --git a/GanjooRazor/Pages/AudioClip.cshtml b/GanjooRazor/Pages/AudioClip.cshtml index 581fd0de..fd4477ea 100644 --- a/GanjooRazor/Pages/AudioClip.cshtml +++ b/GanjooRazor/Pages/AudioClip.cshtml @@ -15,7 +15,7 @@ گنجور » نمایش خوانش - + diff --git a/GanjooRazor/Pages/Error.cshtml b/GanjooRazor/Pages/Error.cshtml index 270bdc58..628297a1 100644 --- a/GanjooRazor/Pages/Error.cshtml +++ b/GanjooRazor/Pages/Error.cshtml @@ -14,7 +14,7 @@ @ViewData["Title"] - + diff --git a/GanjooRazor/Pages/Golha.cshtml b/GanjooRazor/Pages/Golha.cshtml index 3b10e739..f84494d1 100644 --- a/GanjooRazor/Pages/Golha.cshtml +++ b/GanjooRazor/Pages/Golha.cshtml @@ -10,7 +10,7 @@ انتخاب قطعه‌ای از برنامهٔ گلها مرتبط با این شعر - + diff --git a/GanjooRazor/Pages/Index.cshtml b/GanjooRazor/Pages/Index.cshtml index 6e4f4fb8..f4d572eb 100644 --- a/GanjooRazor/Pages/Index.cshtml +++ b/GanjooRazor/Pages/Index.cshtml @@ -17,7 +17,7 @@ } - + diff --git a/GanjooRazor/Pages/Login.cshtml b/GanjooRazor/Pages/Login.cshtml index 7daeb856..93261f95 100644 --- a/GanjooRazor/Pages/Login.cshtml +++ b/GanjooRazor/Pages/Login.cshtml @@ -13,7 +13,7 @@ - +
diff --git a/GanjooRazor/Pages/Pin.cshtml b/GanjooRazor/Pages/Pin.cshtml index c3b95610..07cb292e 100644 --- a/GanjooRazor/Pages/Pin.cshtml +++ b/GanjooRazor/Pages/Pin.cshtml @@ -11,7 +11,7 @@ پیشنهاد شعر مرتبط با تصویر - + diff --git a/GanjooRazor/Pages/ReportComment.cshtml b/GanjooRazor/Pages/ReportComment.cshtml index e896ec20..a75affe4 100644 --- a/GanjooRazor/Pages/ReportComment.cshtml +++ b/GanjooRazor/Pages/ReportComment.cshtml @@ -9,7 +9,7 @@ درخواست حذف حاشیه - +