From 772c137feb57aaec5b0ecaff6afaed5b237f400c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jean-S=C3=A9bastien=20Caux?= <git@jscaux.org>
Date: Wed, 25 Jan 2023 15:37:20 +0100
Subject: [PATCH] Give more info before withdrawal

---
 .../templates/submissions/withdraw_manuscript.html         | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/scipost_django/submissions/templates/submissions/withdraw_manuscript.html b/scipost_django/submissions/templates/submissions/withdraw_manuscript.html
index dc355bcbe..8ae1fdd7d 100644
--- a/scipost_django/submissions/templates/submissions/withdraw_manuscript.html
+++ b/scipost_django/submissions/templates/submissions/withdraw_manuscript.html
@@ -29,7 +29,12 @@
   <div class="row">
     <div class="col-12">
       <h3 class="text-danger">Are you sure you want to withdraw this manuscript?</h3>
-      <p>This will terminate the editorial process for the above submission.</p>
+      {% if submission.stage_incoming_completed %}
+	<h4 class="text-danger">THIS WILL PERMANENTLY TERMINATE FURTHER EDITORIAL PROCESSING of this Submission (including its previous versions).</h4>
+	<p>You should definitely <strong class="text-danger">NOT</strong> click the button if you simply want to update your manuscript to a new version, while it is under consideration here.</p>
+      {% else %}
+	<p>This will terminate the editorial process for the above submission.</p>
+      {% endif %}
       <form action="{% url 'submissions:withdraw_manuscript' submission.preprint.identifier_w_vn_nr %}" method="post">
 	{% csrf_token %}
 	{{ form|bootstrap:'0,12' }}
-- 
GitLab