From 112bfd60963e6be6a08932238d6c4ebaf9c06ea6 Mon Sep 17 00:00:00 2001 From: Raffaele Giancotti Date: Wed, 2 Oct 2024 17:12:36 -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 | 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 a4c225abc..4acb597e6 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 %}(This is an update of the latest published version.){% endif %} - {% if project.is_new_version %}
Latest Published Version: {{ latest_version.version }} {% else %}
No latest version available. {% endif %} + 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 %} {% if project.latest_reminder %}
Latest reminder email sent on: {{ project.latest_reminder }} {% endif %}