From e108d42d82710c213fe39a0c533c5e3226957d31 Mon Sep 17 00:00:00 2001 From: George Katsikas <giorgakis.katsikas@gmail.com> Date: Thu, 6 Feb 2025 11:35:54 +0100 Subject: [PATCH] =?UTF-8?q?feat(editorial):=20=F0=9F=9A=B8=20show=20plagia?= =?UTF-8?q?rism=20assessment=20comments=20in=20pool=20tab?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes #364 --- .../_hx_submission_edadmin_subtab.html | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/scipost_django/edadmin/templates/edadmin/_hx_submission_edadmin_subtab.html b/scipost_django/edadmin/templates/edadmin/_hx_submission_edadmin_subtab.html index 45569fd33..f8534a15c 100644 --- a/scipost_django/edadmin/templates/edadmin/_hx_submission_edadmin_subtab.html +++ b/scipost_django/edadmin/templates/edadmin/_hx_submission_edadmin_subtab.html @@ -1,3 +1,5 @@ +{% load automarkup %} + {% if submission.stage_incoming_completed %} <h3>Info on completed stages</h3> @@ -69,6 +71,37 @@ </td> </tr> </table> + + {% with assessment=submission.internal_plagiarism_assessment %} + {% if assessment.comments_for_edadmin or assessment.comments_for_authors %} + <div class="row"> + <div class="col"> + <div class="fs-4">Comments for edadmin</div> + <p>{% automarkup assessment.comments_for_edadmin %}</p> + </div> + <div class="col"> + <div class="fs-4">Comments for authors</div> + <p>{% automarkup assessment.comments_for_authors %}</p> + </div> + </div> + {% endif %} + {% endwith %} + + {% with assessment=submission.iThenticate_plagiarism_assessment %} + {% if assessment.comments_for_edadmin or assessment.comments_for_authors %} + <div class="row"> + <div class="col"> + <div class="fs-4">Comments for edadmin</div> + <p>{% automarkup assessment.comments_for_edadmin %}</p> + </div> + <div class="col"> + <div class="fs-4">Comments for authors</div> + <p>{% automarkup assessment.comments_for_authors %}</p> + </div> + </div> + {% endif %} + {% endwith %} + {% elif subtab == "preassignment" %} {% if not submission.stage_preassignment_completed %} This stage has not been completed yet. -- GitLab