docs: #306 fixes for moderating corrections in regard to the second prosody metre

This commit is contained in:
Hamid Reza Mohammadi 2022-04-23 08:19:24 +04:30
parent 0b1f2696be
commit d91de38d92
2 changed files with 6 additions and 1 deletions

View File

@ -143,6 +143,11 @@ else
}
@if (correction.Rhythm2 != null)
{
<tr>
<td colspan="3">
وزن دوم
</td>
</tr>
<tr>
<td>
<p style="color:red">@correction.OriginalRhythm2</p>

View File

@ -231,7 +231,7 @@ namespace RMuseum.Services.Implementation
{
if (moderation.Rhythm2Result == CorrectionReviewResult.NotReviewed)
return new RServiceResult<GanjoorPoemCorrectionViewModel>(null, "تغییرات وزن دوم بررسی نشده است.");
dbCorrection.Rhythm2Result = moderation.RhythmResult;
dbCorrection.Rhythm2Result = moderation.Rhythm2Result;
if (dbCorrection.Rhythm2Result == CorrectionReviewResult.Approved)
{
if (mainSection == null)