From 175c4774a79591aeebe97ecd7287e8a63a56e8de 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. --- .../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..a4c225abc 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 of the latest published version.){% endif %} + {% if project.is_new_version %}
Latest Published Version: {{ latest_version.version }} {% else %}
No latest version available. {% endif %} {% if project.latest_reminder %}
Latest reminder email sent on: {{ project.latest_reminder }} {% endif %}