From 195fb145490e25312b4dc4a31a55f62eb98f646a Mon Sep 17 00:00:00 2001 From: Raffaele Giancotti Date: Tue, 1 Oct 2024 13:57:19 -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 of the latest published version. Otherwise, a message stating 'No latest version available' is displayed. #2282 closed. 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. 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. 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/physionet-django/console/templates/console/submission_info_card.html b/physionet-django/console/templates/console/submission_info_card.html index 01e3ebbb6..62d1bdacf 100644 --- a/physionet-django/console/templates/console/submission_info_card.html +++ b/physionet-django/console/templates/console/submission_info_card.html @@ -45,8 +45,8 @@

{{ project.title }}

Authors: {% for author in authors %}{{ author|show_all_author_info|safe }} {% endfor %}
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 %}
Latest Published Version: {{ latest_version.version }}{% endif %} + Version: {{ project.version }} {% if project.is_new_version %}(this is an update to a published project){% 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 %}