summary compare in edits

This commit is contained in:
Hamid Reza Mohammadi 2023-11-28 14:35:34 +03:30
parent b21e2ef4f8
commit 3a0382ec8e

View File

@ -222,14 +222,24 @@ else
else
@if (correction.SummaryReviewResult == CorrectionReviewResult.Approved)
{
<p style="color:green">@CorrectionReviewResultConvertor.GetString(correction.SummaryReviewResult)</p>
<p style="color:green" id="summary-original-@correction.Id">@CorrectionReviewResultConvertor.GetString(correction.SummaryReviewResult)</p>
}
else
{
<p style="color:red">@CorrectionReviewResultConvertor.GetString(correction.SummaryReviewResult)</p>
<p style="color:red" id="summary-edited-@correction.Id">@CorrectionReviewResultConvertor.GetString(correction.SummaryReviewResult)</p>
}
</td>
</tr>
<tr>
<td colspan="3">
<p id="summary-compare-@correction.Id">@correction.OriginalTitle</p>
<script>
$(document).ready(function () {
compareCorrectionBlocks('summary-original-@correction.Id', 'summary-edited-@correction.Id', 'summary-compare-@correction.Id');
});
</script>
</td>
</tr>
@if (!string.IsNullOrEmpty(correction.ReviewNote))
{
<tr>