From e7569a16e7443ef7c29063479c07d2a5f129e113 Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Mon, 20 Sep 2021 18:53:02 +0430 Subject: [PATCH] #205 done --- GanjooRazor/Areas/Admin/Pages/ReviewEdits.cshtml | 12 ++++++++---- GanjooRazor/appsettings.json | 4 ++-- .../Ganjoor/ViewModels/GanjoorPoetViewModel.cs | 5 +++++ 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/GanjooRazor/Areas/Admin/Pages/ReviewEdits.cshtml b/GanjooRazor/Areas/Admin/Pages/ReviewEdits.cshtml index 8d1e8aea..731003f7 100644 --- a/GanjooRazor/Areas/Admin/Pages/ReviewEdits.cshtml +++ b/GanjooRazor/Areas/Admin/Pages/ReviewEdits.cshtml @@ -50,14 +50,16 @@ else - -
@if (Model.Correction.Result == RMuseum.Models.Ganjoor.CorrectionReviewResult.NotChanged) { + +
} else { + +
}
@@ -156,14 +158,16 @@ else - -
@if (verse.Result == RMuseum.Models.Ganjoor.CorrectionReviewResult.NotChanged) { + +
} else { + +
}
diff --git a/GanjooRazor/appsettings.json b/GanjooRazor/appsettings.json index 367a6d76..42b4065f 100644 --- a/GanjooRazor/appsettings.json +++ b/GanjooRazor/appsettings.json @@ -8,8 +8,8 @@ }, "AllowedHosts": "*", "GoogleAnalyticsCode": "", - "APIRoot": "http://localhost:3439", - "GlobalAPIRoot": "http://localhost:3439", + "APIRoot": "https://ganjgah.ir", + "GlobalAPIRoot": "https://ganjgah.ir", "SiteUrl": "http://localhost:33081", "ReadOnlyMode": "False" } diff --git a/RMuseum/Models/Ganjoor/ViewModels/GanjoorPoetViewModel.cs b/RMuseum/Models/Ganjoor/ViewModels/GanjoorPoetViewModel.cs index 6eb4c598..99f25439 100644 --- a/RMuseum/Models/Ganjoor/ViewModels/GanjoorPoetViewModel.cs +++ b/RMuseum/Models/Ganjoor/ViewModels/GanjoorPoetViewModel.cs @@ -44,5 +44,10 @@ /// image url /// public string ImageUrl { get; set; } + + public override string ToString() + { + return Nickname; + } } }