From f3c8a2117e5301d9f7ff627d04c16913b39690de Mon Sep 17 00:00:00 2001 From: Raffaele Giancotti Date: Thu, 3 Oct 2024 08:39:48 -0400 Subject: [PATCH] On the Project Submission Info page, when there is a new version of a published project, a message is displayed alongside the version number stating, '(this is an update to a published project)'. Otherwise, a message stating 'Latest Published Version: No published version available.' is displayed. #2282 closed. --- .../console/templates/console/submission_info_card.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/physionet-django/console/templates/console/submission_info_card.html b/physionet-django/console/templates/console/submission_info_card.html index 4acb597e6..ffb8ec59a 100644 --- a/physionet-django/console/templates/console/submission_info_card.html +++ b/physionet-django/console/templates/console/submission_info_card.html @@ -46,7 +46,7 @@

{{ project.title }}

Created: {{ project.creation_datetime|date }}. Submitted: {{ project.submission_datetime|date }}.
Storage Used: {{ storage_info.readable_used }} / {{ storage_info.readable_allowance }}
Version: {{ project.version }} {% if project.is_new_version %}(this is an update to a published project){% endif %} - {% if project.is_new_version %}
Latest Published Version: {{ latest_version.version }} {% else %}
Latest Published Version: No published version available. {% endif %} + Latest Published Version: {% if project.is_new_version %}{{ latest_version.version }}{% else %} No published version available.{% endif %} {% if project.latest_reminder %}
Latest reminder email sent on: {{ project.latest_reminder }} {% endif %}