diff --git a/GanjooRazor/Areas/User/Pages/Editor.cshtml b/GanjooRazor/Areas/User/Pages/Editor.cshtml
index 6cad1f3f..e5c7d35f 100644
--- a/GanjooRazor/Areas/User/Pages/Editor.cshtml
+++ b/GanjooRazor/Areas/User/Pages/Editor.cshtml
@@ -46,8 +46,7 @@
var oldSummaryName = '#originalsummary-' + i.toString();
var newSummaryName = '#summary-' + i.toString();
- if($(oldSummaryName) != null && $(newSummaryName) != null && $(oldSummaryName).text() != $(newSummaryName).text())
- {
+ if ($(oldSummaryName) != null && $(newSummaryName) != null && $(oldSummaryName).text() != $(newSummaryName).text()) {
verseOrderSummaries.push(i.toString() + 'TextSeparator' + $(newSummaryName).text());
}
}
@@ -185,7 +184,7 @@
});
}
-
+
function internalEditorcompare(id, originalPrefix, editedPrefix, comparePrefix) {
var a = document.getElementById(originalPrefix + id.toString());
@@ -221,7 +220,7 @@
result.appendChild(fragment);
}
- function editorcompare(id) {
+ function editorcompare(id) {
internalEditorcompare(id, 'original-', 'id-', 'compare-');
}
@@ -482,7 +481,7 @@ else
}
- @if(verse.Text != null)
+ @if (verse.Text != null)
{
|
@@ -493,7 +492,7 @@ else
|
}
- @if(verse.CoupletSummary != null)
+ @if (verse.CoupletSummary != null)
{
|
@@ -510,7 +509,7 @@ else
|
}
- }
+ }
}
@if (!string.IsNullOrEmpty(Model.MyLastEdit.Note))
@@ -796,7 +795,7 @@ else
-
+
|
@@ -1063,6 +1062,77 @@ else
|
+
+ | خلاصه یا مفهوم کلی شعر یا متن: |
+
+
+ |
+ اگر متن یا شعر یک مفهوم و خلاصهٔ کلی ندارد (مثل خیلی از غزلیات حافظ) برای آن متن کلی وارد نکنید.
+ |
+
+
+
+ |
+ @Model.PageInformation.Poem.PoemSummary
+ @if (string.IsNullOrEmpty(Model.PageInformation.Poem.PoemSummary))
+ {
+ هنوز متنی برای خلاصهٔ کلی نوشته نشده است.
+ }
+ |
+
+
+ |
+ خلاصهٔ ویراستهٔ من (به زبان غیرمحاورهای و ناسره):
+ |
+
+
+
+ |
+ @if (Model.MyLastEdit != null && Model.MyLastEdit.PoemSummary != null)
+ {
+ @Model.MyLastEdit.PoemSummary
+
+
+
+ }
+ else
+ {
+ @Model.PageInformation.Poem.PoemSummary
+
+ }
+ |
+
+
+ |
+ تغییرات:
+ |
+
+
+ |
+ @Model.PageInformation.Poem.PoemSummary
+ |
+
+
+
+ |
+ لغزش به دکمهٔ ذخیره
+ |
+
+
+
+ | برگردان خطوط به نثر روان: |
+
@for (int verseIndex = 0; verseIndex < Model.PageInformation.Poem.Verses.Length; verseIndex++)
{
@if (
@@ -1092,29 +1162,29 @@ else
(nIndex == verseIndex
||
- (
+ (
Model.PageInformation.Poem.Verses[nIndex].VersePosition != RMuseum.Models.Ganjoor.VersePosition.Right
&& Model.PageInformation.Poem.Verses[nIndex].VersePosition != RMuseum.Models.Ganjoor.VersePosition.CenteredVerse1
&& Model.PageInformation.Poem.Verses[nIndex].VersePosition != RMuseum.Models.Ganjoor.VersePosition.Paragraph
- ))
- ; nIndex++)
+ ))
+ ; nIndex++)
{
| @Model.PageInformation.Poem.Verses[nIndex].Text |
}
-
+
}
-
+
|
معنای خط یا بیت:
|
-
+
-
+
|
@Model.PageInformation.Poem.Verses[verseIndex].CoupletSummary
@if (string.IsNullOrEmpty(Model.PageInformation.Poem.Verses[verseIndex].CoupletSummary))
@@ -1123,13 +1193,13 @@ else
}
|
-
+
|
معنای ویراستهٔ من (به زبان غیرمحاورهای و ناسره):
|
-
+
|
@if (Model.MyLastEdit != null && Model.MyLastEdit.VerseOrderText != null && Model.MyLastEdit.VerseOrderText.Where(v => v.VORder == Model.PageInformation.Poem.Verses[verseIndex].VOrder && !string.IsNullOrEmpty(v.CoupletSummary)).Any())
{
@@ -1156,12 +1226,12 @@ else
}
|
-
+
|
تغییرات:
|
-
+
|
@Model.PageInformation.Poem.Verses[verseIndex].CoupletSummary
|
@@ -1176,7 +1246,7 @@ else
}
-
+
@if (Model.PageInformation.Poem.Sections.Count(s => s.SectionType == RMuseum.Models.Ganjoor.PoemSectionType.WholePoem && s.VerseType == RMuseum.Models.Ganjoor.VersePoemSectionType.First) > 1)
{