From 175c4774a79591aeebe97ecd7287e8a63a56e8de Mon Sep 17 00:00:00 2001 From: Raffaele Giancotti Date: Tue, 1 Oct 2024 13:57:19 -0400 Subject: [PATCH 1/2] 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 %} From e88874d592ffe016f04dd1528d7aa7805b996a8f Mon Sep 17 00:00:00 2001 From: Raffaele Giancotti Date: Wed, 2 Oct 2024 10:41:57 -0400 Subject: [PATCH 2/2] At /console/published-projects/ a search tool has been added to the page. #2307 closed. --- .../templates/console/published_projects.html | 33 ++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/physionet-django/console/templates/console/published_projects.html b/physionet-django/console/templates/console/published_projects.html index 3db98d14a..1de0ff754 100644 --- a/physionet-django/console/templates/console/published_projects.html +++ b/physionet-django/console/templates/console/published_projects.html @@ -9,12 +9,23 @@ {% endblock %} {% block content %} +
Published Projects {{ projects.paginator.count }}
-
+
+
+ +
+
+
+
+ +
+
+
@@ -48,3 +59,23 @@ {% endblock %} + +{% block local_js_bottom %} + +{% endblock %}