From 554de8d295c46b2e208d64f701b34e061de9fbe0 Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Fri, 3 Dec 2021 11:47:18 +0330 Subject: [PATCH] #254 moving the tools section into its own section --- GanjooRazor/Pages/_GanjoorPagePartial.cshtml | 177 ++++++++++--------- 1 file changed, 90 insertions(+), 87 deletions(-) diff --git a/GanjooRazor/Pages/_GanjoorPagePartial.cshtml b/GanjooRazor/Pages/_GanjoorPagePartial.cshtml index ee5355ef..6455c4ae 100644 --- a/GanjooRazor/Pages/_GanjoorPagePartial.cshtml +++ b/GanjooRazor/Pages/_GanjoorPagePartial.cshtml @@ -267,113 +267,116 @@
-

- mouse با انتخاب متن و لمس متن انتخابی می‌توانید آن را در لغتنامهٔ دهخدا جستجو کنید. -

- @if (Model.GanjoorPage.Poem.GanjoorMetre != null || !string.IsNullOrEmpty(Model.GanjoorPage.Poem.OldTag) || !string.IsNullOrEmpty(Model.GanjoorPage.Poem.SourceName)) - { - - @if (Model.GanjoorPage.Poem.GanjoorMetre != null) - { - - - - - } - @if (!string.IsNullOrEmpty(Model.GanjoorPage.Poem.OldTag)) - { - - - - - } - @if (!string.IsNullOrEmpty(Model.GanjoorPage.Poem.SourceName)) - { - - - - - } +
- وزن: - - @Model.GanjoorPage.Poem.GanjoorMetre.Rhythm -
- دسته: - - @Model.GanjoorPage.Poem.OldTag -
- منبع اولیه: - - @Model.GanjoorPage.Poem.SourceName -
- } - - - -
- حذف شماره‌هاformat_list_numbered_rtl - @if (Model.LoggedIn) + @if (Model.GanjoorPage.Poem.GanjoorMetre != null || !string.IsNullOrEmpty(Model.GanjoorPage.Poem.OldTag) || !string.IsNullOrEmpty(Model.GanjoorPage.Poem.SourceName)) { - - نشانه‌گذاری / حذف نشانهstar_border - + + @if (Model.GanjoorPage.Poem.GanjoorMetre != null) + { + + + + + } + @if (!string.IsNullOrEmpty(Model.GanjoorPage.Poem.OldTag)) + { + + + + + } + @if (!string.IsNullOrEmpty(Model.GanjoorPage.Poem.SourceName)) + { + + + + + } + +
+ وزن: + + @Model.GanjoorPage.Poem.GanjoorMetre.Rhythm +
+ دسته: + + @Model.GanjoorPage.Poem.OldTag +
+ منبع اولیه: + + @Model.GanjoorPage.Poem.SourceName +
} - - رونوشت نشانیlink - رونوشت نشانی - - - رونوشت متنcontent_copy - رونوشت متن - - - همرسانیshare - - - @if (Model.GanjoorPage.Poem.GanjoorMetre != null) - { - - @if (!string.IsNullOrEmpty(Model.GanjoorPage.Poem.RhymeLetters)) +
+ حذف شماره‌هاformat_list_numbered_rtl + @if (Model.LoggedIn) { - شعرهای هم آهنگsearch + نشانه‌گذاری / حذف نشانهstar_border } - } + + + رونوشت نشانیlink + رونوشت نشانی + + + + رونوشت متنcontent_copy + رونوشت متن + + + + همرسانیshare + + + @if (Model.GanjoorPage.Poem.GanjoorMetre != null) + { + + @if (!string.IsNullOrEmpty(Model.GanjoorPage.Poem.RhymeLetters)) + { + + شعرهای هم آهنگsearch + + } + } + + @if (Model.LoggedIn) + { + translate + } +
@if (Model.LoggedIn) { - translate + ویرایشedit + } + else + { + برای ویرایش و بهبود متن با نام کاربری خود وارد شوید }
- @if (Model.LoggedIn) - { - ویرایشedit - } - else - { - برای ویرایش و بهبود متن با نام کاربری خود وارد شوید - } - @{ - if (Model.IsPoemPage) + if (Model.GanjoorPage.Poem.Recitations.Length > 0) { - if (Model.GanjoorPage.Poem.Recitations.Length > 0) - { -