From 55b470e8c8785252977358b556fcb70f677734a3 Mon Sep 17 00:00:00 2001 From: George Katsikas <giorgakis.katsikas@gmail.com> Date: Tue, 9 Apr 2024 15:03:07 +0200 Subject: [PATCH] add help text to report recommendation field --- scipost_django/submissions/forms/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scipost_django/submissions/forms/__init__.py b/scipost_django/submissions/forms/__init__.py index e40e4c42e..5fce00538 100644 --- a/scipost_django/submissions/forms/__init__.py +++ b/scipost_django/submissions/forms/__init__.py @@ -2889,6 +2889,11 @@ class ReportForm(forms.ModelForm): self.fields["report"].required = False self.fields["recommendation"].required = False + #! Temporary annotation this field was made public: + self.fields["recommendation"].help_text = ( + "As of April 2024, report recommendations are also publicly visible." + ) + if self.submission.eicrecommendations.active().exists(): # An active EICRecommendation is already formulated. This Report will be flagged. self.report_type = REPORT_POST_EDREC -- GitLab