docs: #306 displaying the second prosody metre in my edits page

This commit is contained in:
Hamid Reza Mohammadi 2022-04-23 07:57:45 +04:30
parent b8e44b658f
commit 0b1f2696be

View File

@ -141,6 +141,40 @@ else
</tr>
}
}
@if (correction.Rhythm2 != null)
{
<tr>
<td>
<p style="color:red">@correction.OriginalRhythm2</p>
</td>
<td>
<p style="color:green">@correction.Rhythm2</p>
</td>
<td>
@if (correction.Rhythm2Result == CorrectionReviewResult.Approved)
{
<p style="color:blue">@CorrectionReviewResultConvertor.GetString(correction.Rhythm2Result)</p>
}
else
@if (correction.Rhythm2Result == CorrectionReviewResult.Approved)
{
<p style="color:green">@CorrectionReviewResultConvertor.GetString(correction.Rhythm2Result)</p>
}
else
{
<p style="color:red">@CorrectionReviewResultConvertor.GetString(correction.Rhythm2Result)</p>
}
</td>
</tr>
@if (!string.IsNullOrEmpty(correction.ReviewNote))
{
<tr>
<td colspan="3">
<p>@correction.ReviewNote</p>
</td>
</tr>
}
}
@if (correction.VerseOrderText != null)
@foreach (var verse in correction.VerseOrderText)
{