From c11a4a8a24479e55a19a0b2d9a17c39661fdafea Mon Sep 17 00:00:00 2001 From: George Katsikas <giorgakis.katsikas@gmail.com> Date: Tue, 9 Apr 2024 14:40:33 +0200 Subject: [PATCH] restore view of private report recommendations --- .../submissions/_report_public_without_comments.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scipost_django/submissions/templates/submissions/_report_public_without_comments.html b/scipost_django/submissions/templates/submissions/_report_public_without_comments.html index 8b5e65ad4..162f7ce02 100644 --- a/scipost_django/submissions/templates/submissions/_report_public_without_comments.html +++ b/scipost_django/submissions/templates/submissions/_report_public_without_comments.html @@ -104,8 +104,16 @@ <h3 class="highlight tight">Remarks for editors</h3> <div class="ps-md-4">{{ report.remarks_for_editors|default:'-' }}</div> </div> + + {% if not report.recommendation_publicly_visible %} + <div class="m-2 p-2 border border-danger"> + <h3 class="highlight tight">Recommendation</h3> + <div class="ps-md-4">{{ report.get_recommendation_display }}</div> + </div> + {% endif %} {% endif %} + {% block single_report_footer %}{% endblock %} </div> </div> -- GitLab