From 90a9c7e5fc5eaa5e53f4e4a519de2b1469afa4d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jean-S=C3=A9bastien=20Caux?= <git@jscaux.org>
Date: Tue, 6 Dec 2022 17:54:03 +0100
Subject: [PATCH] Tweak details of edadmin submissions listing

---
 .../edadmin/templates/edadmin/_hx_plagiarism_internal.html      | 2 ++
 .../edadmin/templates/edadmin/_hx_submissions_list.html         | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/scipost_django/edadmin/templates/edadmin/_hx_plagiarism_internal.html b/scipost_django/edadmin/templates/edadmin/_hx_plagiarism_internal.html
index fd8007b6e..1614e0a2e 100644
--- a/scipost_django/edadmin/templates/edadmin/_hx_plagiarism_internal.html
+++ b/scipost_django/edadmin/templates/edadmin/_hx_plagiarism_internal.html
@@ -34,6 +34,8 @@
 	      <br>
 	      <a href="{{ match.submission.get_absolute_url }}" target="_blank">{{ match.submission.title }}</a><br>
 	      {{ match.submission.author_list }}
+	      <br>
+	      <strong>Status</strong>:&emsp;{{ match.submission.get_status_display }}
 	    </td>
 	    <td>{{ match.ratio_title|floatformat:2 }}</td>
 	    <td>{{ match.ratio_authors|floatformat:2 }}</td>
diff --git a/scipost_django/edadmin/templates/edadmin/_hx_submissions_list.html b/scipost_django/edadmin/templates/edadmin/_hx_submissions_list.html
index ff196e36b..d75151700 100644
--- a/scipost_django/edadmin/templates/edadmin/_hx_submissions_list.html
+++ b/scipost_django/edadmin/templates/edadmin/_hx_submissions_list.html
@@ -34,4 +34,6 @@
     >
     </div>
   </details>
+{% empty %}
+  <p><strong>No Submission found</strong></p>
 {% endfor %}
-- 
GitLab