Skip to content

Commit

Permalink
On the Project Submission Info page, when there is a new version of a…
Browse files Browse the repository at this point in the history
… 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.
  • Loading branch information
rafgia committed Oct 1, 2024
1 parent 0bf86bf commit 175c477
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ <h4 class="card-title">{{ project.title }}</h4>
Authors: {% for author in authors %}{{ author|show_all_author_info|safe }} {% endfor %}<br>
Created: {{ project.creation_datetime|date }}. Submitted: {{ project.submission_datetime|date }}.<br>
Storage Used: {{ storage_info.readable_used }} / {{ storage_info.readable_allowance }}<br>
Version: {{ project.version }}
{% if project.is_new_version %}<br>Latest Published Version: <a href="{% url 'published_project' latest_version.slug latest_version.version %}" target="_blank">{{ latest_version.version }}</a>{% endif %}
Version: {{ project.version }} {% if project.is_new_version %}<em style="color:blue;">(This is an update of the latest published version.)</em>{% endif %}
{% if project.is_new_version %}<br>Latest Published Version: <a href="{% url 'published_project' latest_version.slug latest_version.version %}" target="_blank">{{ latest_version.version }}</a> {% else %} <br>No latest version available. {% endif %}
{% if project.latest_reminder %}
<br>Latest reminder email sent on: {{ project.latest_reminder }}
{% endif %}
Expand Down

0 comments on commit 175c477

Please sign in to comment.